]>
Commit | Line | Data |
---|---|---|
a2a8927a XL |
1 | error[E0311]: the parameter type `Self` may not live long enough |
2 | --> $DIR/issue-88586-hr-self-outlives-in-trait-def.rs:6:1 | |
3 | | | |
4 | LL | / trait A where for<'a> Self: 'a | |
5 | LL | | | |
6 | LL | | { | |
7 | LL | | } | |
8 | | |_^ | |
9 | | | |
10 | = help: consider adding an explicit lifetime bound `Self: 'a`... | |
11 | = note: ...so that the type `Self` will meet its required lifetime bounds... | |
12 | note: ...that is required by this bound | |
13 | --> $DIR/issue-88586-hr-self-outlives-in-trait-def.rs:6:29 | |
14 | | | |
15 | LL | trait A where for<'a> Self: 'a | |
16 | | ^^ | |
17 | ||
18 | error: aborting due to previous error | |
19 |