rust/src/test/ui/issues/issue-56199.stderr

31 lines
908 B
Plaintext
Raw Normal View History

2018-12-15 17:31:46 +00:00
error: the `Self` constructor can only be used with tuple or unit structs
2018-12-11 00:05:35 +00:00
--> $DIR/issue-56199.rs:7:17
|
LL | let _ = Self;
| ^^^^
|
= note: did you mean to use one of the enum's variants?
2018-12-15 17:31:46 +00:00
error: the `Self` constructor can only be used with tuple or unit structs
2018-12-11 00:05:35 +00:00
--> $DIR/issue-56199.rs:9:17
|
LL | let _ = Self();
| ^^^^
|
= note: did you mean to use one of the enum's variants?
2018-12-15 17:31:46 +00:00
error: the `Self` constructor can only be used with tuple or unit structs
2018-12-11 00:05:35 +00:00
--> $DIR/issue-56199.rs:16:17
|
LL | let _ = Self;
| ^^^^ did you mean `Self { /* fields */ }`?
2018-12-15 17:31:46 +00:00
error: the `Self` constructor can only be used with tuple or unit structs
2018-12-11 00:05:35 +00:00
--> $DIR/issue-56199.rs:18:17
|
LL | let _ = Self();
| ^^^^ did you mean `Self { /* fields */ }`?
error: aborting due to 4 previous errors