error[E0261]: use of undeclared lifetime name `'test` | |
--> $DIR/no_introducing_in_band_in_locals.rs:5:13 | |
| | |
LL | let y: &'test u32 = x; | |
| ^^^^^ undeclared lifetime | |
error[E0261]: use of undeclared lifetime name `'test` | |
--> $DIR/no_introducing_in_band_in_locals.rs:10:16 | |
| | |
LL | let y: fn(&'test u32) = foo2; | |
| ^^^^^ undeclared lifetime | |
error: aborting due to 2 previous errors | |
For more information about this error, try `rustc --explain E0261`. |