]>
Commit | Line | Data |
---|---|---|
1b1a35ee | 1 | error[E0207]: the lifetime parameter `'a` is not constrained by the impl trait, self type, or predicates |
17df50a5 | 2 | --> $DIR/issue-74761.rs:10:6 |
1b1a35ee XL |
3 | | |
4 | LL | impl<'a, 'b> A for () { | |
5 | | ^^ unconstrained lifetime parameter | |
6 | ||
7 | error[E0207]: the lifetime parameter `'b` is not constrained by the impl trait, self type, or predicates | |
17df50a5 | 8 | --> $DIR/issue-74761.rs:10:10 |
1b1a35ee XL |
9 | | |
10 | LL | impl<'a, 'b> A for () { | |
11 | | ^^ unconstrained lifetime parameter | |
12 | ||
13 | error: aborting due to 2 previous errors | |
14 | ||
15 | For more information about this error, try `rustc --explain E0207`. |