]> git.proxmox.com Git - rustc.git/blame - src/test/ui/where-clauses/where-lifetime-resolution.stderr
New upstream version 1.61.0+dfsg1
[rustc.git] / src / test / ui / where-clauses / where-lifetime-resolution.stderr
CommitLineData
b7449926 1error[E0261]: use of undeclared lifetime name `'a`
dc9dc135 2 --> $DIR/where-lifetime-resolution.rs:6:38
b7449926 3 |
dfeec247
XL
4LL | fn f() where
5 | - help: consider introducing lifetime `'a` here: `<'a>`
6LL | for<'a> dyn Trait1<'a>: Trait1<'a>, // OK
dc9dc135
XL
7LL | (dyn for<'a> Trait1<'a>): Trait1<'a>,
8 | ^^ undeclared lifetime
b7449926
XL
9
10error[E0261]: use of undeclared lifetime name `'b`
dc9dc135 11 --> $DIR/where-lifetime-resolution.rs:8:52
b7449926 12 |
dfeec247
XL
13LL | fn f() where
14 | - help: consider introducing lifetime `'b` here: `<'b>`
15...
dc9dc135
XL
16LL | for<'a> dyn for<'b> Trait2<'a, 'b>: Trait2<'a, 'b>,
17 | ^^ undeclared lifetime
b7449926 18
f035d41b 19error: aborting due to 2 previous errors
b7449926 20
48663c56 21For more information about this error, try `rustc --explain E0261`.