2016-11-30 16:35:25 -06:00
|
|
|
error[E0423]: expected value, found struct variant `Homura::Madoka`
|
2019-03-11 19:49:17 -05:00
|
|
|
--> $DIR/issue-19452.rs:10:18
|
2016-11-30 16:35:25 -06:00
|
|
|
|
|
2019-09-22 13:27:55 -05:00
|
|
|
LL | Madoka { age: u32 }
|
|
|
|
| ------------------- `Homura::Madoka` defined here
|
|
|
|
...
|
2018-02-22 18:42:32 -06:00
|
|
|
LL | let homura = Homura::Madoka;
|
2020-07-09 19:42:07 -05:00
|
|
|
| ^^^^^^^^^^^^^^ help: use struct literal syntax instead: `Homura::Madoka { age: val }`
|
2016-11-30 16:35:25 -06:00
|
|
|
|
2016-11-30 16:35:25 -06:00
|
|
|
error[E0423]: expected value, found struct variant `issue_19452_aux::Homura::Madoka`
|
2019-03-11 19:49:17 -05:00
|
|
|
--> $DIR/issue-19452.rs:13:18
|
2016-11-30 16:35:25 -06:00
|
|
|
|
|
2018-02-22 18:42:32 -06:00
|
|
|
LL | let homura = issue_19452_aux::Homura::Madoka;
|
2020-07-09 19:42:07 -05:00
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use struct literal syntax instead: `issue_19452_aux::Homura::Madoka { /* fields */ }`
|
2021-06-10 06:52:00 -05:00
|
|
|
|
|
2020-08-09 23:14:59 -05:00
|
|
|
::: $DIR/auxiliary/issue-19452-aux.rs:2:5
|
|
|
|
|
|
|
|
|
LL | Madoka { age: u32 }
|
|
|
|
| ------ `issue_19452_aux::Homura::Madoka` defined here
|
2016-11-30 16:35:25 -06:00
|
|
|
|
2017-07-02 05:49:30 -05:00
|
|
|
error: aborting due to 2 previous errors
|
2016-11-30 16:35:25 -06:00
|
|
|
|
2018-03-03 08:59:40 -06:00
|
|
|
For more information about this error, try `rustc --explain E0423`.
|