mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-30 10:45:18 +00:00
43 lines
1.3 KiB
Plaintext
43 lines
1.3 KiB
Plaintext
error[E0261]: use of undeclared lifetime name `'blk`
|
|
--> $DIR/regions-undeclared.rs:1:14
|
|
|
|
|
LL | static c_x: &'blk isize = &22;
|
|
| ^^^^ undeclared lifetime
|
|
|
|
error[E0261]: use of undeclared lifetime name `'a`
|
|
--> $DIR/regions-undeclared.rs:4:10
|
|
|
|
|
LL | enum EnumDecl {
|
|
| - help: consider introducing lifetime `'a` here: `<'a>`
|
|
LL | Foo(&'a isize),
|
|
| ^^ undeclared lifetime
|
|
|
|
error[E0261]: use of undeclared lifetime name `'a`
|
|
--> $DIR/regions-undeclared.rs:5:10
|
|
|
|
|
LL | enum EnumDecl {
|
|
| - help: consider introducing lifetime `'a` here: `<'a>`
|
|
LL | Foo(&'a isize),
|
|
LL | Bar(&'a isize),
|
|
| ^^ undeclared lifetime
|
|
|
|
error[E0261]: use of undeclared lifetime name `'a`
|
|
--> $DIR/regions-undeclared.rs:8:15
|
|
|
|
|
LL | fn fnDecl(x: &'a isize,
|
|
| - ^^ undeclared lifetime
|
|
| |
|
|
| help: consider introducing lifetime `'a` here: `<'a>`
|
|
|
|
error[E0261]: use of undeclared lifetime name `'a`
|
|
--> $DIR/regions-undeclared.rs:9:15
|
|
|
|
|
LL | fn fnDecl(x: &'a isize,
|
|
| - help: consider introducing lifetime `'a` here: `<'a>`
|
|
LL | y: &'a isize)
|
|
| ^^ undeclared lifetime
|
|
|
|
error: aborting due to 5 previous errors
|
|
|
|
For more information about this error, try `rustc --explain E0261`.
|