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
|
@ -191,7 +191,7 @@ fn shallow_lint_levels_on(tcx: TyCtxt<'_>, owner: hir::OwnerId) -> ShallowLintLe
|
|||
levels.add_id(hir::CRATE_HIR_ID);
|
||||
levels.visit_mod(mod_, mod_.spans.inner_span, hir::CRATE_HIR_ID)
|
||||
}
|
||||
hir::OwnerNode::AssocOpaqueTy(..) => unreachable!(),
|
||||
hir::OwnerNode::Synthetic => unreachable!(),
|
||||
},
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue