1
Fork 0

Add warn(unreachable_pub) to rustc_trait_selection.

This commit is contained in:
Nicholas Nethercote 2024-08-30 15:53:47 +10:00
parent c4f6f52139
commit 2e358e633d
6 changed files with 17 additions and 16 deletions

View file

@ -3127,7 +3127,7 @@ impl<'o, 'tcx> fmt::Debug for TraitObligationStack<'o, 'tcx> {
}
}
pub enum ProjectionMatchesProjection {
pub(crate) enum ProjectionMatchesProjection {
Yes,
Ambiguous,
No,