fork/rust
git clone https://git.julia.blue/fork/rust
b8cedc00407
1.42.0
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 | enum EnumDecl { 11 | - help: consider introducing lifetime `'a` here: `<'a>` 12LL | Foo(&'a isize), 13 | ^^ undeclared lifetime 14 15error[E0261]: use of undeclared lifetime name `'a` 16 --> $DIR/regions-undeclared.rs:5:10 17 | 18LL | enum EnumDecl { 19 | - help: consider introducing lifetime `'a` here: `<'a>` 20LL | Foo(&'a isize), 21LL | Bar(&'a isize), 22 | ^^ undeclared lifetime 23 24error[E0261]: use of undeclared lifetime name `'a` 25 --> $DIR/regions-undeclared.rs:8:15 26 | 27LL | fn fnDecl(x: &'a isize, 28 | - ^^ undeclared lifetime 29 | | 30 | help: consider introducing lifetime `'a` here: `<'a>` 31 32error[E0261]: use of undeclared lifetime name `'a` 33 --> $DIR/regions-undeclared.rs:9:15 34 | 35LL | fn fnDecl(x: &'a isize, 36 | - help: consider introducing lifetime `'a` here: `<'a>` 37LL | y: &'a isize) 38 | ^^ undeclared lifetime 39 40error: aborting due to 5 previous errors 41 42For more information about this error, try `rustc --explain E0261`.