2018-08-08 12:28:26 +00:00
|
|
|
error[E0261]: use of undeclared lifetime name `'blk`
|
2018-12-25 15:56:47 +00:00
|
|
|
--> $DIR/regions-undeclared.rs:1:14
|
2018-08-08 12:28:26 +00:00
|
|
|
|
|
2019-03-09 12:03:44 +00:00
|
|
|
LL | static c_x: &'blk isize = &22;
|
2018-08-08 12:28:26 +00:00
|
|
|
| ^^^^ undeclared lifetime
|
|
|
|
|
|
|
|
error[E0261]: use of undeclared lifetime name `'a`
|
2018-12-25 15:56:47 +00:00
|
|
|
--> $DIR/regions-undeclared.rs:4:10
|
2018-08-08 12:28:26 +00:00
|
|
|
|
|
2020-01-16 02:34:30 +00:00
|
|
|
LL | enum EnumDecl {
|
|
|
|
| - help: consider introducing lifetime `'a` here: `<'a>`
|
2019-03-09 12:03:44 +00:00
|
|
|
LL | Foo(&'a isize),
|
2018-08-08 12:28:26 +00:00
|
|
|
| ^^ undeclared lifetime
|
|
|
|
|
|
|
|
error[E0261]: use of undeclared lifetime name `'a`
|
2018-12-25 15:56:47 +00:00
|
|
|
--> $DIR/regions-undeclared.rs:5:10
|
2018-08-08 12:28:26 +00:00
|
|
|
|
|
2020-01-16 02:34:30 +00:00
|
|
|
LL | enum EnumDecl {
|
|
|
|
| - help: consider introducing lifetime `'a` here: `<'a>`
|
|
|
|
LL | Foo(&'a isize),
|
2019-03-09 12:03:44 +00:00
|
|
|
LL | Bar(&'a isize),
|
2018-08-08 12:28:26 +00:00
|
|
|
| ^^ undeclared lifetime
|
|
|
|
|
|
|
|
error[E0261]: use of undeclared lifetime name `'a`
|
2018-12-25 15:56:47 +00:00
|
|
|
--> $DIR/regions-undeclared.rs:8:15
|
2018-08-08 12:28:26 +00:00
|
|
|
|
|
2019-03-09 12:03:44 +00:00
|
|
|
LL | fn fnDecl(x: &'a isize,
|
2020-01-16 02:34:30 +00:00
|
|
|
| - ^^ undeclared lifetime
|
|
|
|
| |
|
|
|
|
| help: consider introducing lifetime `'a` here: `<'a>`
|
2018-08-08 12:28:26 +00:00
|
|
|
|
|
|
|
error[E0261]: use of undeclared lifetime name `'a`
|
2018-12-25 15:56:47 +00:00
|
|
|
--> $DIR/regions-undeclared.rs:9:15
|
2018-08-08 12:28:26 +00:00
|
|
|
|
|
2020-01-16 02:34:30 +00:00
|
|
|
LL | fn fnDecl(x: &'a isize,
|
|
|
|
| - help: consider introducing lifetime `'a` here: `<'a>`
|
2019-03-09 12:03:44 +00:00
|
|
|
LL | y: &'a isize)
|
2018-08-08 12:28:26 +00:00
|
|
|
| ^^ undeclared lifetime
|
|
|
|
|
|
|
|
error: aborting due to 5 previous errors
|
|
|
|
|
|
|
|
For more information about this error, try `rustc --explain E0261`.
|