about summary refs log tree commit diff
path: root/tests/ui/structs/struct-fields-typo.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/structs/struct-fields-typo.stderr')
-rw-r--r--tests/ui/structs/struct-fields-typo.stderr5
1 files changed, 3 insertions, 2 deletions
diff --git a/tests/ui/structs/struct-fields-typo.stderr b/tests/ui/structs/struct-fields-typo.stderr
index d87bace7277..dacf2ecea17 100644
--- a/tests/ui/structs/struct-fields-typo.stderr
+++ b/tests/ui/structs/struct-fields-typo.stderr
@@ -6,8 +6,9 @@ LL |     let x = foo.baa;
    |
 help: a field with a similar name exists
    |
-LL |     let x = foo.bar;
-   |                 ~~~
+LL -     let x = foo.baa;
+LL +     let x = foo.bar;
+   |
 
 error: aborting due to 1 previous error