about summary refs log tree commit diff
path: root/tests/ui/regions/regions-in-structs.stderr
blob: c34b1ffca64f0d40c77bb67d488afc8fc65b7685 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
error[E0261]: use of undeclared lifetime name `'a`
  --> $DIR/regions-in-structs.rs:10:9
   |
LL |     a: &'a isize,
   |         ^^ undeclared lifetime
   |
help: consider introducing lifetime `'a` here
   |
LL | struct StructDecl<'a> {
   |                  ++++

error[E0261]: use of undeclared lifetime name `'a`
  --> $DIR/regions-in-structs.rs:11:9
   |
LL |     b: &'a isize,
   |         ^^ undeclared lifetime
   |
help: consider introducing lifetime `'a` here
   |
LL | struct StructDecl<'a> {
   |                  ++++

error: aborting due to 2 previous errors

For more information about this error, try `rustc --explain E0261`.