fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #69444 - pietroalbini:stable-next-final-v2-new, r=pietroalbinif3e1a954d2e

1.41.1
771 B21 linesraw
1error[E0261]: use of undeclared lifetime name `'a`
2  --> $DIR/where-lifetime-resolution.rs:6:38
3   |
4LL |     (dyn for<'a> Trait1<'a>): Trait1<'a>,
5   |                                      ^^ undeclared lifetime
6
7error[E0316]: nested quantification of lifetimes
8  --> $DIR/where-lifetime-resolution.rs:8:17
9   |
10LL |     for<'a> dyn for<'b> Trait2<'a, 'b>: Trait2<'a, 'b>,
11   |                 ^^^^^^^^^^^^^^^^^^^^^^
12
13error[E0261]: use of undeclared lifetime name `'b`
14  --> $DIR/where-lifetime-resolution.rs:8:52
15   |
16LL |     for<'a> dyn for<'b> Trait2<'a, 'b>: Trait2<'a, 'b>,
17   |                                                    ^^ undeclared lifetime
18
19error: aborting due to 3 previous errors
20
21For more information about this error, try `rustc --explain E0261`.