]> git.lizzy.rs Git - rust.git/blob - src/test/ui/generic-associated-types/issue-67510.stderr
Rollup merge of #93400 - ChayimFriedman2:dont-suggest-using-const-with-bounds-unused...
[rust.git] / src / test / ui / generic-associated-types / issue-67510.stderr
1 error[E0261]: use of undeclared lifetime name `'a`
2   --> $DIR/issue-67510.rs:7:21
3    |
4 LL | fn f(x: Box<dyn X<Y<'a>=&'a ()>>) {}
5    |     -               ^^ undeclared lifetime
6    |     |
7    |     help: consider introducing lifetime `'a` here: `<'a>`
8
9 error[E0261]: use of undeclared lifetime name `'a`
10   --> $DIR/issue-67510.rs:7:26
11    |
12 LL | fn f(x: Box<dyn X<Y<'a>=&'a ()>>) {}
13    |     -                    ^^ undeclared lifetime
14    |     |
15    |     help: consider introducing lifetime `'a` here: `<'a>`
16
17 error: aborting due to 2 previous errors
18
19 For more information about this error, try `rustc --explain E0261`.