about summary refs log tree commit diff
path: root/tests/ui/empty/empty-struct-tuple-pat.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/empty/empty-struct-tuple-pat.stderr')
-rw-r--r--tests/ui/empty/empty-struct-tuple-pat.stderr7
1 files changed, 4 insertions, 3 deletions
diff --git a/tests/ui/empty/empty-struct-tuple-pat.stderr b/tests/ui/empty/empty-struct-tuple-pat.stderr
index 45001c79753..09b454653f6 100644
--- a/tests/ui/empty/empty-struct-tuple-pat.stderr
+++ b/tests/ui/empty/empty-struct-tuple-pat.stderr
@@ -47,11 +47,12 @@ LL |     XEmpty5(),
 help: use the tuple variant pattern syntax instead
    |
 LL |         XE::XEmpty5() => (),
-   |         ~~~~~~~~~~~~~
+   |                    ++
 help: a unit variant with a similar name exists
    |
-LL |         XE::XEmpty4 => (),
-   |             ~~~~~~~
+LL -         XE::XEmpty5 => (),
+LL +         XE::XEmpty4 => (),
+   |
 
 error: aborting due to 4 previous errors