rust/src/test/ui/error-codes/E0106.stderr

34 lines
802 B
Plaintext
Raw Normal View History

2018-02-07 21:35:35 -06:00
error[E0106]: missing lifetime specifier
2018-12-25 09:56:47 -06:00
--> $DIR/E0106.rs:2:8
2018-02-07 21:35:35 -06:00
|
2018-02-22 18:42:32 -06:00
LL | x: &bool,
2018-02-07 21:35:35 -06:00
| ^ expected lifetime parameter
error[E0106]: missing lifetime specifier
2018-12-25 09:56:47 -06:00
--> $DIR/E0106.rs:7:7
2018-02-07 21:35:35 -06:00
|
2018-02-22 18:42:32 -06:00
LL | B(&bool),
2018-02-07 21:35:35 -06:00
| ^ expected lifetime parameter
error[E0106]: missing lifetime specifier
2018-12-25 09:56:47 -06:00
--> $DIR/E0106.rs:10:14
2018-02-07 21:35:35 -06:00
|
2018-02-22 18:42:32 -06:00
LL | type MyStr = &str;
2018-02-07 21:35:35 -06:00
| ^ expected lifetime parameter
error[E0106]: missing lifetime specifier
2018-12-25 09:56:47 -06:00
--> $DIR/E0106.rs:17:10
2018-02-07 21:35:35 -06:00
|
2018-02-22 18:42:32 -06:00
LL | baz: Baz,
2018-02-07 21:35:35 -06:00
| ^^^ expected lifetime parameter
error[E0106]: missing lifetime specifiers
2018-12-25 09:56:47 -06:00
--> $DIR/E0106.rs:20:11
2018-02-07 21:35:35 -06:00
|
2018-02-22 18:42:32 -06:00
LL | buzz: Buzz,
2018-02-07 21:35:35 -06:00
| ^^^^ expected 2 lifetime parameters
error: aborting due to 5 previous errors
2018-03-03 08:59:40 -06:00
For more information about this error, try `rustc --explain E0106`.