Add comment to Type and OpaqueTy match
This commit is contained in:
parent
2cd5030ef5
commit
55277d4a6e
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue