]> git.lizzy.rs Git - rust.git/blob - src/test/ui/type-alias-impl-trait/issue-74761.stderr
Auto merge of #95454 - randomicon00:fix95444, r=wesleywiser
[rust.git] / src / test / ui / type-alias-impl-trait / issue-74761.stderr
1 error[E0207]: the lifetime parameter `'a` is not constrained by the impl trait, self type, or predicates
2   --> $DIR/issue-74761.rs:7:6
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
8   --> $DIR/issue-74761.rs:7:10
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`.