about summary refs log tree commit diff
path: root/src/test/ui/error-codes
diff options
context:
space:
mode:
authorAndy Russell <arussell123@gmail.com>2018-12-20 18:10:46 -0500
committerAndy Russell <arussell123@gmail.com>2018-12-31 12:52:30 -0500
commitdfc326d0e212bd644d04906ca21bb012cf970cb4 (patch)
tree6e8e22597c6731a24a95d0201e6654b44000802f /src/test/ui/error-codes
parent79d8a0fcefa5134db2a94739b1d18daa01fc6e9f (diff)
downloadrust-dfc326d0e212bd644d04906ca21bb012cf970cb4.tar.gz
rust-dfc326d0e212bd644d04906ca21bb012cf970cb4.zip
use structured suggestions for nonexistent fields
Diffstat (limited to 'src/test/ui/error-codes')
-rw-r--r--src/test/ui/error-codes/ex-E0612.stderr2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/ui/error-codes/ex-E0612.stderr b/src/test/ui/error-codes/ex-E0612.stderr
index e65e8bd8142..0f498d16439 100644
--- a/src/test/ui/error-codes/ex-E0612.stderr
+++ b/src/test/ui/error-codes/ex-E0612.stderr
@@ -2,7 +2,7 @@ error[E0609]: no field `1` on type `Foo`
   --> $DIR/ex-E0612.rs:5:6
    |
 LL |    y.1; //~ ERROR no field `1` on type `Foo`
-   |      ^ did you mean `0`?
+   |      ^ help: a field with a similar name exists: `0`
 
 error: aborting due to previous error