about summary refs log tree commit diff
path: root/compiler/rustc_data_structures/src/graph/scc/mod.rs
diff options
context:
space:
mode:
authorMichael Goulet <michael@errs.io>2025-02-20 18:28:42 +0000
committerMichael Goulet <michael@errs.io>2025-02-22 00:01:48 +0000
commite1819a889a2606b79dc9cc790205da1497d617b7 (patch)
tree9593f04e792f244d00ee52e493ba14208627ca50 /compiler/rustc_data_structures/src/graph/scc/mod.rs
parent7f6873f64c17cfa53a10a7751c7213f6ed0215c1 (diff)
downloadrust-e1819a889a2606b79dc9cc790205da1497d617b7.tar.gz
rust-e1819a889a2606b79dc9cc790205da1497d617b7.zip
Fix overcapturing, unsafe extern blocks, and new unsafe ops
Diffstat (limited to 'compiler/rustc_data_structures/src/graph/scc/mod.rs')
-rw-r--r--compiler/rustc_data_structures/src/graph/scc/mod.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_data_structures/src/graph/scc/mod.rs b/compiler/rustc_data_structures/src/graph/scc/mod.rs
index 93f6192b10b..2241b538738 100644
--- a/compiler/rustc_data_structures/src/graph/scc/mod.rs
+++ b/compiler/rustc_data_structures/src/graph/scc/mod.rs
@@ -133,7 +133,7 @@ impl<N: Idx, S: Idx + Ord, A: Annotation> Sccs<N, S, A> {
     /// meaning that if `S1 -> S2`, we will visit `S2` first and `S1` after.
     /// This is convenient when the edges represent dependencies: when you visit
     /// `S1`, the value for `S2` will already have been computed.
-    pub fn all_sccs(&self) -> impl Iterator<Item = S> {
+    pub fn all_sccs(&self) -> impl Iterator<Item = S> + use<N, S, A> {
         (0..self.scc_data.len()).map(S::new)
     }