Add comment to Type
and OpaqueTy
match
This commit is contained in:
parent
2cd5030ef5
commit
55277d4a6e
@ -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, _)
|
||||
|
Loading…
x
Reference in New Issue
Block a user