Skip to content

Commit 6743b77

Browse files
Add comment to Type and OpaqueTy match
1 parent ef907db commit 6743b77

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
@@ -438,7 +438,7 @@ impl<'tcx> Node {
438438
| (Const, Const)
439439
| (Method, Method)
440440
| (Type, Type)
441-
| (Type, OpaqueTy)
441+
| (Type, OpaqueTy) // assoc. types can be made opaque in impls
442442
=> tcx.hygienic_eq(impl_item.ident, trait_item_name, trait_def_id),
443443

444444
| (Const, _)

0 commit comments

Comments
 (0)