Add comment to Type and OpaqueTy match

This commit is contained in:
Jonas Schievink 2019-09-18 23:00:59 +02:00
parent 2cd5030ef5
commit 55277d4a6e

View file

@ -436,7 +436,7 @@ impl<'tcx> Node {
| (Const, Const)
| (Method, Method)
| (Type, Type)
| (Type, OpaqueTy)
| (Type, OpaqueTy) // assoc. types can be made opaque in impls
=> tcx.hygienic_eq(impl_item.ident, trait_item_name, trait_def_id),
| (Const, _)