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