2018-12-15 17:31:46 +00:00
|
|
|
error: the `Self` constructor can only be used with tuple or unit structs
|
2018-12-25 15:56:47 +00:00
|
|
|
--> $DIR/issue-56199.rs:6:17
|
2018-12-11 00:05:35 +00:00
|
|
|
|
|
|
|
|
LL | let _ = Self;
|
|
|
|
| ^^^^
|
|
|
|
|
|
2018-12-20 23:10:46 +00:00
|
|
|
= help: did you mean to use one of the enum's variants?
|
2018-12-11 00:05:35 +00:00
|
|
|
|
2018-12-15 17:31:46 +00:00
|
|
|
error: the `Self` constructor can only be used with tuple or unit structs
|
2018-12-25 15:56:47 +00:00
|
|
|
--> $DIR/issue-56199.rs:8:17
|
2018-12-11 00:05:35 +00:00
|
|
|
|
|
|
|
|
LL | let _ = Self();
|
2024-01-24 02:52:29 +00:00
|
|
|
| ^^^^^^
|
2018-12-11 00:05:35 +00:00
|
|
|
|
|
2018-12-20 23:10:46 +00:00
|
|
|
= help: did you mean to use one of the enum's variants?
|
2018-12-11 00:05:35 +00:00
|
|
|
|
2018-12-15 17:31:46 +00:00
|
|
|
error: the `Self` constructor can only be used with tuple or unit structs
|
2018-12-25 15:56:47 +00:00
|
|
|
--> $DIR/issue-56199.rs:15:17
|
2018-12-11 00:05:35 +00:00
|
|
|
|
|
|
|
|
LL | let _ = Self;
|
2018-12-20 23:10:46 +00:00
|
|
|
| ^^^^ help: use curly brackets: `Self { /* fields */ }`
|
2018-12-11 00:05:35 +00:00
|
|
|
|
2018-12-15 17:31:46 +00:00
|
|
|
error: the `Self` constructor can only be used with tuple or unit structs
|
2018-12-25 15:56:47 +00:00
|
|
|
--> $DIR/issue-56199.rs:17:17
|
2018-12-11 00:05:35 +00:00
|
|
|
|
|
|
|
|
LL | let _ = Self();
|
2024-01-24 02:52:29 +00:00
|
|
|
| ^^^^^^ help: use curly brackets: `Self { /* fields */ }`
|
2018-12-11 00:05:35 +00:00
|
|
|
|
|
|
|
error: aborting due to 4 previous errors
|
|
|
|
|