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
note: first, the lifetime cannot outlive the lifetime 'a as defined on the trait at 5:17...
12
+
--> $DIR/issue-55796.rs:5:17
13
+
|
14
+
LL | pub trait Graph<'a> {
15
+
| ^^
16
+
note: ...so that the type `std::iter::Map<<Self as Graph<'a>>::EdgesIter, [closure@$DIR/issue-55796.rs:16:40: 16:54]>` will meet its required lifetime bounds
note: first, the lifetime cannot outlive the lifetime 'a as defined on the trait at 5:17...
33
+
--> $DIR/issue-55796.rs:5:17
34
+
|
35
+
LL | pub trait Graph<'a> {
36
+
| ^^
37
+
note: ...so that the type `std::iter::Map<<Self as Graph<'a>>::EdgesIter, [closure@$DIR/issue-55796.rs:20:39: 20:53]>` will meet its required lifetime bounds
0 commit comments