fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #103046 - JanBeh:PR_clarify_cmp_terminology, r=workingjubilee3bcad65fbf6

master
647 B20 linesraw
1error[E0261]: use of undeclared lifetime name `'a`
2  --> $DIR/regions-in-structs.rs:10:9
3   |
4LL | struct StructDecl {
5   |                  - help: consider introducing lifetime `'a` here: `<'a>`
6LL |     a: &'a isize,
7   |         ^^ undeclared lifetime
8
9error[E0261]: use of undeclared lifetime name `'a`
10  --> $DIR/regions-in-structs.rs:11:9
11   |
12LL | struct StructDecl {
13   |                  - help: consider introducing lifetime `'a` here: `<'a>`
14LL |     a: &'a isize,
15LL |     b: &'a isize,
16   |         ^^ undeclared lifetime
17
18error: aborting due to 2 previous errors
19
20For more information about this error, try `rustc --explain E0261`.