Deny imports of rustc_type_ir::inherent outside of type ir + new trait solver
This commit is contained in:
parent
1a1cc050d8
commit
91854453f2
7 changed files with 87 additions and 2 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue