about summary refs log tree commit diff
path: root/compiler/rustc_transmute/src/maybe_transmutable
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2024-09-03 01:27:20 +0000
committerbors <bors@rust-lang.org>2024-09-03 01:27:20 +0000
commit6199b69c53a8c275ca3cd59647ea0af5ca29aae2 (patch)
tree75ddc29eb734ea11a6652ce3f688a3037095bba3 /compiler/rustc_transmute/src/maybe_transmutable
parent2251572086f12186b5a499bf55dee82145173ed3 (diff)
parent88b6a78d0b8b7661db8bea0d0743652bcb9a4600 (diff)
Auto merge of #129777 - nnethercote:unreachable_pub-4, r=Urgau
Add `unreachable_pub`, round 4

A follow-up to #129732.

r? `@Urgau`
Diffstat (limited to 'compiler/rustc_transmute/src/maybe_transmutable')
-rw-r--r--compiler/rustc_transmute/src/maybe_transmutable/mod.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/compiler/rustc_transmute/src/maybe_transmutable/mod.rs b/compiler/rustc_transmute/src/maybe_transmutable/mod.rs
index a76ef7f0d18..95eaedbf04a 100644
--- a/compiler/rustc_transmute/src/maybe_transmutable/mod.rs
+++ b/compiler/rustc_transmute/src/maybe_transmutable/mod.rs
@@ -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>>,