]> git.proxmox.com Git - rustc.git/blobdiff - src/test/ui/empty/empty-struct-braces-pat-1.stderr
New upstream version 1.56.0~beta.4+dfsg1
[rustc.git] / src / test / ui / empty / empty-struct-braces-pat-1.stderr
index 3570012fc37523583ff27b0b8670805f3d2f3d2c..0215a9e5935322507e2609a5ef1b8c81fa354481 100644 (file)
@@ -12,7 +12,7 @@ error[E0532]: expected unit struct, unit variant or constant, found struct varia
    |
 LL |         XE::XEmpty3 => ()
    |         ^^^^^^^^^^^
-   | 
+   |
   ::: $DIR/auxiliary/empty-struct.rs:6:5
    |
 LL |     XEmpty3 {},
@@ -23,11 +23,11 @@ LL |     XEmpty4,
 help: use struct pattern syntax instead
    |
 LL |         XE::XEmpty3 { /* fields */ } => ()
-   |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+   |         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 help: a unit variant with a similar name exists
    |
 LL |         XE::XEmpty4 => ()
-   |             ^^^^^^^
+   |             ~~~~~~~
 
 error: aborting due to 2 previous errors