]> git.proxmox.com Git - rustc.git/blob - src/test/ui/regions/regions-in-structs.stderr
New upstream version 1.46.0~beta.2+dfsg1
[rustc.git] / src / test / ui / regions / regions-in-structs.stderr
1 error[E0261]: use of undeclared lifetime name `'a`
2 --> $DIR/regions-in-structs.rs:10:9
3 |
4 LL | struct StructDecl {
5 | - help: consider introducing lifetime `'a` here: `<'a>`
6 LL | a: &'a isize,
7 | ^^ undeclared lifetime
8 |
9 = help: if you want to experiment with in-band lifetime bindings, add `#![feature(in_band_lifetimes)]` to the crate attributes
10
11 error[E0261]: use of undeclared lifetime name `'a`
12 --> $DIR/regions-in-structs.rs:11:9
13 |
14 LL | struct StructDecl {
15 | - help: consider introducing lifetime `'a` here: `<'a>`
16 LL | a: &'a isize,
17 LL | b: &'a isize,
18 | ^^ undeclared lifetime
19 |
20 = help: if you want to experiment with in-band lifetime bindings, add `#![feature(in_band_lifetimes)]` to the crate attributes
21
22 error: aborting due to 2 previous errors
23
24 For more information about this error, try `rustc --explain E0261`.