about summary refs log tree commit diff
path: root/compiler/rustc_data_structures/src/obligation_forest
diff options
context:
space:
mode:
authorMatthias Krüger <476013+matthiaskrgr@users.noreply.github.com>2025-03-12 17:59:08 +0100
committerGitHub <noreply@github.com>2025-03-12 17:59:08 +0100
commitd93ef397ce4522be2e90585f2a81142728596dd7 (patch)
treead38d9ae4aff1f5436ad6d452bd65b1819c92da3 /compiler/rustc_data_structures/src/obligation_forest
parenta21d41a22d7a93101ee409095d9f373fb6c5d957 (diff)
parentff0a5fe975bdf94ea6a42c96c20a3891a91e503c (diff)
downloadrust-d93ef397ce4522be2e90585f2a81142728596dd7.tar.gz
rust-d93ef397ce4522be2e90585f2a81142728596dd7.zip
Rollup merge of #138331 - nnethercote:use-RUSTC_LINT_FLAGS-more, r=onur-ozkan,jieyouxu
Use `RUSTC_LINT_FLAGS` more

An alternative to the failed #138084.

Fixes #138106.

r? ````@jieyouxu````
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 ea3ac467340..f63b201742d 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> {
         #[cfg_attr(not(bootstrap), define_opaque(ObligationTreeIdGenerator))]
         pub fn new() -> ObligationForest<O> {