You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
| hidden type `Map<std::slice::Iter<'_, (u32, u32)>, [closure@$DIR/static-return-lifetime-infered.rs:9:27: 9:34]>` captures the anonymous lifetime defined here
8
8
|
9
-
help: to declare that the `impl Trait` captures '_, you can add an explicit `'_` lifetime bound
9
+
help: to declare that the `impl Trait` captures `'_`, you can add an explicit `'_` lifetime bound
| hidden type `Map<std::slice::Iter<'_, (u32, u32)>, [closure@$DIR/static-return-lifetime-infered.rs:9:27: 9:34]>` captures the anonymous lifetime defined here
21
21
|
22
-
help: to declare that the `impl Trait` captures '_, you can add an explicit `'_` lifetime bound
22
+
help: to declare that the `impl Trait` captures `'_`, you can add an explicit `'_` lifetime bound
| hidden type `Map<std::slice::Iter<'a, (u32, u32)>, [closure@$DIR/static-return-lifetime-infered.rs:14:27: 14:34]>` captures the lifetime `'a` as defined here
34
34
|
35
-
help: to declare that the `impl Trait` captures 'a, you can add an explicit `'a` lifetime bound
35
+
help: to declare that the `impl Trait` captures `'a`, you can add an explicit `'a` lifetime bound
| hidden type `Map<std::slice::Iter<'a, (u32, u32)>, [closure@$DIR/static-return-lifetime-infered.rs:14:27: 14:34]>` captures the lifetime `'a` as defined here
47
47
|
48
-
help: to declare that the `impl Trait` captures 'a, you can add an explicit `'a` lifetime bound
48
+
help: to declare that the `impl Trait` captures `'a`, you can add an explicit `'a` lifetime bound
| hidden type `&ReFree(DefId(0:8 ~ impl_trait_captures[HASH]::foo), BrAnon(0)) T` captures the anonymous lifetime defined here
8
8
|
9
-
help: to declare that the `impl Trait` captures ReFree(DefId(0:8 ~ impl_trait_captures[HASH]::foo), BrAnon(0)), you can add an explicit `ReFree(DefId(0:8 ~ impl_trait_captures[HASH]::foo), BrAnon(0))` lifetime bound
9
+
help: to declare that the `impl Trait` captures `ReFree(DefId(0:8 ~ impl_trait_captures[HASH]::foo), BrAnon(0))`, you can add an explicit `ReFree(DefId(0:8 ~ impl_trait_captures[HASH]::foo), BrAnon(0))` lifetime bound
0 commit comments