]>
Commit | Line | Data |
---|---|---|
8faf50e0 | 1 | error[E0106]: missing lifetime specifier |
0731742a | 2 | --> $DIR/regions-in-structs-anon.rs:4:8 |
8faf50e0 | 3 | | |
532ac7d7 | 4 | LL | x: &isize |
dfeec247 XL |
5 | | ^ expected named lifetime parameter |
6 | | | |
7 | help: consider introducing a named lifetime parameter | |
8 | | | |
74b04a01 XL |
9 | LL | struct Foo<'a> { |
10 | LL | x: &'a isize | |
dfeec247 | 11 | | |
8faf50e0 XL |
12 | |
13 | error: aborting due to previous error | |
14 | ||
15 | For more information about this error, try `rustc --explain E0106`. |