Deny imports of rustc_type_ir::inherent outside of type ir + new trait solver

This commit is contained in:
Michael Goulet 2024-08-28 00:14:41 -04:00
parent 1a1cc050d8
commit 91854453f2
7 changed files with 87 additions and 2 deletions

View file

@ -5,6 +5,7 @@
//! So if you got to this crate from the old solver, it's totally normal.
// tidy-alphabetical-start
#![cfg_attr(not(bootstrap), allow(rustc::usage_of_type_ir_inherent))]
#![warn(unreachable_pub)]
// tidy-alphabetical-end