Skip to content

Commit 55277d4

Browse files
Add comment to Type and OpaqueTy match
1 parent 2cd5030 commit 55277d4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/librustc/traits/specialize/specialization_graph.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -436,7 +436,7 @@ impl<'tcx> Node {
436436
| (Const, Const)
437437
| (Method, Method)
438438
| (Type, Type)
439-
| (Type, OpaqueTy)
439+
| (Type, OpaqueTy) // assoc. types can be made opaque in impls
440440
=> tcx.hygienic_eq(impl_item.ident, trait_item_name, trait_def_id),
441441

442442
| (Const, _)

0 commit comments

Comments
 (0)