summaryrefslogtreecommitdiffstats
path: root/src/test/ui/resolve/issue-19452.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/ui/resolve/issue-19452.stderr')
-rw-r--r--src/test/ui/resolve/issue-19452.stderr18
1 files changed, 5 insertions, 13 deletions
diff --git a/src/test/ui/resolve/issue-19452.stderr b/src/test/ui/resolve/issue-19452.stderr
index 8df84067e..eff89241f 100644
--- a/src/test/ui/resolve/issue-19452.stderr
+++ b/src/test/ui/resolve/issue-19452.stderr
@@ -1,23 +1,15 @@
-error[E0423]: expected value, found struct variant `Homura::Madoka`
+error[E0533]: 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 }`
+ | ^^^^^^^^^^^^^^ not a value
-error[E0423]: expected value, found struct variant `issue_19452_aux::Homura::Madoka`
+error[E0533]: 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
+ | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not a value
error: aborting due to 2 previous errors
-For more information about this error, try `rustc --explain E0423`.
+For more information about this error, try `rustc --explain E0533`.