diff options
| author | bors <bors@rust-lang.org> | 2018-12-31 20:56:19 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2018-12-31 20:56:19 +0000 |
| commit | 9eac386342c601b14311b435f2b6d314fc817bb5 (patch) | |
| tree | c7ccb9e9b2497adb98f75085eca41d388463a411 /src/test/ui/error-codes | |
| parent | 6efaef61899f6551914156f69809aa7d5854399d (diff) | |
| parent | dfc326d0e212bd644d04906ca21bb012cf970cb4 (diff) | |
| download | rust-9eac386342c601b14311b435f2b6d314fc817bb5.tar.gz rust-9eac386342c601b14311b435f2b6d314fc817bb5.zip | |
Auto merge of #57047 - euclio:field-structured-suggestions, r=estebank
use structured suggestions for nonexistent fields r? @estebank
Diffstat (limited to 'src/test/ui/error-codes')
| -rw-r--r-- | src/test/ui/error-codes/ex-E0612.stderr | 2 |
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 |
