about summary refs log tree commit diff
path: root/compiler/rustc_next_trait_solver/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_next_trait_solver/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_next_trait_solver/src/lib.rs')
-rw-r--r--compiler/rustc_next_trait_solver/src/lib.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/compiler/rustc_next_trait_solver/src/lib.rs b/compiler/rustc_next_trait_solver/src/lib.rs
index f6963a79067..f575fe03019 100644
--- a/compiler/rustc_next_trait_solver/src/lib.rs
+++ b/compiler/rustc_next_trait_solver/src/lib.rs
@@ -6,6 +6,7 @@
 
 // tidy-alphabetical-start
 #![allow(rustc::usage_of_type_ir_inherent)]
+#![cfg_attr(not(bootstrap), allow(rustc::usage_of_type_ir_traits))]
 // tidy-alphabetical-end
 
 pub mod canonicalizer;