Add warn(unreachable_pub) to rustc_transmute.

This commit is contained in:
Nicholas Nethercote
2024-08-30 16:15:56 +10:00
parent 2e358e633d
commit e4b1e28033
4 changed files with 5 additions and 4 deletions

View File

@@ -366,13 +366,13 @@ where
}
}
pub enum Quantifier {
enum Quantifier {
ThereExists,
ForAll,
}
impl Quantifier {
pub fn apply<R, I>(&self, iter: I) -> Answer<R>
fn apply<R, I>(&self, iter: I) -> Answer<R>
where
R: layout::Ref,
I: IntoIterator<Item = Answer<R>>,