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
932 B33 linesraw
1error[E0261]: use of undeclared lifetime name `'blk`
2  --> $DIR/regions-undeclared.rs:1:14
3   |
4LL | static c_x: &'blk isize = &22;
5   |              ^^^^ undeclared lifetime
6
7error[E0261]: use of undeclared lifetime name `'a`
8  --> $DIR/regions-undeclared.rs:4:10
9   |
10LL |     Foo(&'a isize),
11   |          ^^ undeclared lifetime
12
13error[E0261]: use of undeclared lifetime name `'a`
14  --> $DIR/regions-undeclared.rs:5:10
15   |
16LL |     Bar(&'a isize),
17   |          ^^ undeclared lifetime
18
19error[E0261]: use of undeclared lifetime name `'a`
20  --> $DIR/regions-undeclared.rs:8:15
21   |
22LL | fn fnDecl(x: &'a isize,
23   |               ^^ undeclared lifetime
24
25error[E0261]: use of undeclared lifetime name `'a`
26  --> $DIR/regions-undeclared.rs:9:15
27   |
28LL |           y: &'a isize)
29   |               ^^ undeclared lifetime
30
31error: aborting due to 5 previous errors
32
33For more information about this error, try `rustc --explain E0261`.