about summary refs log tree commit diff
path: root/src/test/ui/structs/struct-fields-typo.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/ui/structs/struct-fields-typo.stderr')
-rw-r--r--src/test/ui/structs/struct-fields-typo.stderr4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/test/ui/structs/struct-fields-typo.stderr b/src/test/ui/structs/struct-fields-typo.stderr
index 93127ab5beb..c2fab714f7c 100644
--- a/src/test/ui/structs/struct-fields-typo.stderr
+++ b/src/test/ui/structs/struct-fields-typo.stderr
@@ -1,8 +1,8 @@
 error[E0609]: no field `baa` on type `BuildData`
   --> $DIR/struct-fields-typo.rs:11:17
    |
-LL |     let x = foo.baa;//~ no field `baa` on type `BuildData`
-   |                 ^^^ did you mean `bar`?
+LL |     let x = foo.baa; //~ ERROR no field `baa` on type `BuildData`
+   |                 ^^^ help: a field with a similar name exists: `bar`
 
 error: aborting due to previous error