about summary refs log tree commit diff
path: root/compiler/rustc_lint/src/lib.rs
diff options
context:
space:
mode:
authorMichael Goulet <michael@errs.io>2025-03-26 04:09:07 +0000
committerMichael Goulet <michael@errs.io>2025-03-26 04:39:38 +0000
commit14804d1ed156604c52d5dd4a1ac4710f7ad31fa6 (patch)
tree9b7de44050d8e8c2463fdbb5eb87a468b38a26fb /compiler/rustc_lint/src/lib.rs
parentca6dad3eaba54b5bf6e587991055d89c7cd029e4 (diff)
downloadrust-14804d1ed156604c52d5dd4a1ac4710f7ad31fa6.tar.gz
rust-14804d1ed156604c52d5dd4a1ac4710f7ad31fa6.zip
Implement lint against using Interner and InferCtxtLike in random compiler crates
Diffstat (limited to 'compiler/rustc_lint/src/lib.rs')
-rw-r--r--compiler/rustc_lint/src/lib.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/compiler/rustc_lint/src/lib.rs b/compiler/rustc_lint/src/lib.rs
index c38a7540018..cd474f1b7db 100644
--- a/compiler/rustc_lint/src/lib.rs
+++ b/compiler/rustc_lint/src/lib.rs
@@ -645,6 +645,7 @@ fn register_internals(store: &mut LintStore) {
             LintId::of(USAGE_OF_QUALIFIED_TY),
             LintId::of(NON_GLOB_IMPORT_OF_TYPE_IR_INHERENT),
             LintId::of(USAGE_OF_TYPE_IR_INHERENT),
+            LintId::of(USAGE_OF_TYPE_IR_TRAITS),
             LintId::of(BAD_OPT_ACCESS),
             LintId::of(SPAN_USE_EQ_CTXT),
         ],