The AssocOpaqueTy HIR node is not actually needed to differentiate from other hir nodes that were fed
This commit is contained in:
parent
196ff446d2
commit
bdb682eda6
10 changed files with 21 additions and 27 deletions
|
@ -2553,7 +2553,7 @@ impl<'tcx> TypeErrCtxt<'_, 'tcx> {
|
|||
hir::OwnerNode::ImplItem(i) => visitor.visit_impl_item(i),
|
||||
hir::OwnerNode::TraitItem(i) => visitor.visit_trait_item(i),
|
||||
hir::OwnerNode::Crate(_) => bug!("OwnerNode::Crate doesn't not have generics"),
|
||||
hir::OwnerNode::AssocOpaqueTy(..) => unreachable!(),
|
||||
hir::OwnerNode::Synthetic => unreachable!(),
|
||||
}
|
||||
|
||||
let ast_generics = self.tcx.hir().get_generics(lifetime_scope).unwrap();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue