rust/src/test/ui/underscore-lifetime/in-struct.stderr

16 lines
477 B
Plaintext
Raw Normal View History

error[E0106]: missing lifetime specifier
2018-12-25 09:56:47 -06:00
--> $DIR/in-struct.rs:6:9
|
2018-10-19 15:43:46 -05:00
LL | x: &'_ u32, //~ ERROR missing lifetime specifier
| ^^ expected lifetime parameter
2018-10-19 15:39:41 -05:00
error[E0106]: missing lifetime specifier
2018-12-25 09:56:47 -06:00
--> $DIR/in-struct.rs:10:14
2018-10-19 15:39:41 -05:00
|
2018-10-19 15:43:46 -05:00
LL | Variant(&'_ u32), //~ ERROR missing lifetime specifier
2018-10-19 15:39:41 -05:00
| ^^ expected lifetime parameter
error: aborting due to 2 previous errors
For more information about this error, try `rustc --explain E0106`.