about summary refs log tree commit diff
path: root/compiler/rustc_data_structures/src/obligation_forest
diff options
context:
space:
mode:
authorNicholas Nethercote <n.nethercote@gmail.com>2025-03-06 14:25:44 +1100
committerNicholas Nethercote <n.nethercote@gmail.com>2025-03-08 08:41:43 +1100
commit9212e31c92aba29fac1c1e05a258abe36dd0afee (patch)
tree09152c971d35e3689ae6aa3007c2492eca4f0c84 /compiler/rustc_data_structures/src/obligation_forest
parentbeba32cebb4fb2ef8f02c4fc898a9d31f1b03c61 (diff)
downloadrust-9212e31c92aba29fac1c1e05a258abe36dd0afee.tar.gz
rust-9212e31c92aba29fac1c1e05a258abe36dd0afee.zip
Add `unreachable_pub` to the default lints for `compiler/` crates.
And fix the new errors in the handful of crates that didn't have a
`#![warn(unreachable_pub)]`.
Diffstat (limited to 'compiler/rustc_data_structures/src/obligation_forest')
-rw-r--r--compiler/rustc_data_structures/src/obligation_forest/mod.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_data_structures/src/obligation_forest/mod.rs b/compiler/rustc_data_structures/src/obligation_forest/mod.rs
index 78d69a66edc..8d19fc5f9cc 100644
--- a/compiler/rustc_data_structures/src/obligation_forest/mod.rs
+++ b/compiler/rustc_data_structures/src/obligation_forest/mod.rs
@@ -313,7 +313,7 @@ pub struct Error<O, E> {
 
 mod helper {
     use super::*;
-    pub type ObligationTreeIdGenerator = impl Iterator<Item = ObligationTreeId>;
+    pub(super) type ObligationTreeIdGenerator = impl Iterator<Item = ObligationTreeId>;
     impl<O: ForestObligation> ObligationForest<O> {
         pub fn new() -> ObligationForest<O> {
             ObligationForest {