about summary refs log tree commit diff
path: root/compiler/rustc_lint/src/levels.rs
diff options
context:
space:
mode:
authorOli Scherer <git-spam-no-reply9815368754983@oli-obk.de>2024-03-19 08:37:53 +0000
committerOli Scherer <git-spam-no-reply9815368754983@oli-obk.de>2024-03-19 08:37:53 +0000
commitbdb682eda6024f63a69830d8391241727a52b0a5 (patch)
treee49fefce301ccded918060ecd430d984ba57b523 /compiler/rustc_lint/src/levels.rs
parent196ff446d20088406b9d69978dddccc4682bd006 (diff)
downloadrust-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.rs2
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!(),
         },
     }