Remove redundant in_trait from hir::TyKind::OpaqueDef
This commit is contained in:
parent
4891dd4627
commit
ce22fd34d9
4 changed files with 4 additions and 5 deletions
|
|
@ -1115,9 +1115,8 @@ impl<'a, 'tcx> SpanlessHash<'a, 'tcx> {
|
|||
}
|
||||
},
|
||||
TyKind::Path(ref qpath) => self.hash_qpath(qpath),
|
||||
TyKind::OpaqueDef(_, arg_list, in_trait) => {
|
||||
TyKind::OpaqueDef(_, arg_list) => {
|
||||
self.hash_generic_args(arg_list);
|
||||
in_trait.hash(&mut self.s);
|
||||
},
|
||||
TyKind::TraitObject(_, lifetime, _) => {
|
||||
self.hash_lifetime(lifetime);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue