diff options
| author | Oli Scherer <git-spam-no-reply9815368754983@oli-obk.de> | 2024-03-19 08:37:53 +0000 |
|---|---|---|
| committer | Oli Scherer <git-spam-no-reply9815368754983@oli-obk.de> | 2024-03-19 08:37:53 +0000 |
| commit | bdb682eda6024f63a69830d8391241727a52b0a5 (patch) | |
| tree | e49fefce301ccded918060ecd430d984ba57b523 /compiler/rustc_lint/src/levels.rs | |
| parent | 196ff446d20088406b9d69978dddccc4682bd006 (diff) | |
| download | rust-bdb682eda6024f63a69830d8391241727a52b0a5.tar.gz rust-bdb682eda6024f63a69830d8391241727a52b0a5.zip | |
The AssocOpaqueTy HIR node is not actually needed to differentiate from other hir nodes that were fed
Diffstat (limited to 'compiler/rustc_lint/src/levels.rs')
| -rw-r--r-- | compiler/rustc_lint/src/levels.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_lint/src/levels.rs b/compiler/rustc_lint/src/levels.rs index 21af6a182a9..26fc3f20b2c 100644 --- a/compiler/rustc_lint/src/levels.rs +++ b/compiler/rustc_lint/src/levels.rs @@ -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!(), }, } |
