2022-10-25 20:15:15 +04:00
|
|
|
error[E0533]: expected value, found struct variant `Homura::Madoka`
|
2019-03-12 00:49:17 +00:00
|
|
|
--> $DIR/issue-19452.rs:10:18
|
2016-12-01 01:35:25 +03:00
|
|
|
|
|
2018-02-23 03:42:32 +03:00
|
|
|
LL | let homura = Homura::Madoka;
|
2022-10-25 20:15:15 +04:00
|
|
|
| ^^^^^^^^^^^^^^ not a value
|
2024-07-11 16:23:03 +00:00
|
|
|
|
|
|
|
|
help: you might have meant to create a new value of the struct
|
|
|
|
|
|
|
|
|
LL | let homura = Homura::Madoka { age: /* value */ };
|
|
|
|
| ++++++++++++++++++++
|
2016-12-01 01:35:25 +03:00
|
|
|
|
2022-10-25 20:15:15 +04:00
|
|
|
error[E0533]: expected value, found struct variant `issue_19452_aux::Homura::Madoka`
|
2019-03-12 00:49:17 +00:00
|
|
|
--> $DIR/issue-19452.rs:13:18
|
2016-12-01 01:35:25 +03:00
|
|
|
|
|
2018-02-23 03:42:32 +03:00
|
|
|
LL | let homura = issue_19452_aux::Homura::Madoka;
|
2022-10-25 20:15:15 +04:00
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not a value
|
2024-07-11 16:23:03 +00:00
|
|
|
|
|
|
|
|
help: you might have meant to create a new value of the struct
|
|
|
|
|
|
|
|
|
LL | let homura = issue_19452_aux::Homura::Madoka { age: /* value */ };
|
|
|
|
| ++++++++++++++++++++
|
2016-12-01 01:35:25 +03:00
|
|
|
|
2017-07-02 13:49:30 +03:00
|
|
|
error: aborting due to 2 previous errors
|
2016-12-01 01:35:25 +03:00
|
|
|
|
2022-10-25 20:15:15 +04:00
|
|
|
For more information about this error, try `rustc --explain E0533`.
|