Add warn(unreachable_pub) to rustc_next_trait_solver.

This commit is contained in:
Nicholas Nethercote
2024-08-29 15:10:38 +10:00
parent e3062147de
commit 46ea798a94
4 changed files with 37 additions and 26 deletions

View File

@@ -4,6 +4,10 @@
//! but were uplifted in the process of making the new trait solver generic.
//! So if you got to this crate from the old solver, it's totally normal.
// tidy-alphabetical-start
#![warn(unreachable_pub)]
// tidy-alphabetical-end
pub mod canonicalizer;
pub mod coherence;
pub mod delegate;