1 error[E0261]: use of undeclared lifetime name `'test`
2 --> $DIR/no_introducing_in_band_in_locals.rs:5:13
5 | - help: consider introducing lifetime `'test` here: `<'test>`
6 LL | let y: &'test u32 = x;
7 | ^^^^^ undeclared lifetime
9 error[E0261]: use of undeclared lifetime name `'test`
10 --> $DIR/no_introducing_in_band_in_locals.rs:10:16
12 LL | let y: fn(&'test u32) = foo2;
13 | ^^^^^ undeclared lifetime
15 = note: for more information on higher-ranked polymorphism, visit https://doc.rust-lang.org/nomicon/hrtb.html
16 help: consider introducing lifetime `'test` here
18 LL | fn bar<'test>() {
20 help: consider making the type lifetime-generic with a new `'test` lifetime
22 LL | let y: for<'test> fn(&'test u32) = foo2;
25 error: aborting due to 2 previous errors
27 For more information about this error, try `rustc --explain E0261`.