summaryrefslogtreecommitdiffstats
path: root/src/test/ui/resolve/issue-19452.stderr
blob: 8df84067e67417333536b86a8ffbe6ea40addc29 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
error[E0423]: expected value, found struct variant `Homura::Madoka`
  --> $DIR/issue-19452.rs:10:18
   |
LL |     Madoka { age: u32 }
   |     ------------------- `Homura::Madoka` defined here
...
LL |     let homura = Homura::Madoka;
   |                  ^^^^^^^^^^^^^^ help: use struct literal syntax instead: `Homura::Madoka { age: val }`

error[E0423]: expected value, found struct variant `issue_19452_aux::Homura::Madoka`
  --> $DIR/issue-19452.rs:13:18
   |
LL |     let homura = issue_19452_aux::Homura::Madoka;
   |                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use struct literal syntax instead: `issue_19452_aux::Homura::Madoka { /* fields */ }`
   |
  ::: $DIR/auxiliary/issue-19452-aux.rs:2:5
   |
LL |     Madoka { age: u32 }
   |     ------ `issue_19452_aux::Homura::Madoka` defined here

error: aborting due to 2 previous errors

For more information about this error, try `rustc --explain E0423`.