fork/rust
git clone https://git.julia.blue/fork/rust
4fb7144ed15
1.43.0
1error[E0261]: use of undeclared lifetime name `'foo` 2 --> $DIR/regions-in-enums.rs:13:9 3 | 4LL | enum No0 { 5 | - help: consider introducing lifetime `'foo` here: `<'foo>` 6LL | X5(&'foo usize) 7 | ^^^^ undeclared lifetime 8 9error[E0261]: use of undeclared lifetime name `'a` 10 --> $DIR/regions-in-enums.rs:17:9 11 | 12LL | enum No1 { 13 | - help: consider introducing lifetime `'a` here: `<'a>` 14LL | X6(&'a usize) 15 | ^^ undeclared lifetime 16 17error: aborting due to 2 previous errors 18 19For more information about this error, try `rustc --explain E0261`.