use structured suggestions for nonexistent fields
This commit is contained in:
parent
79d8a0fcef
commit
dfc326d0e2
18 changed files with 50 additions and 35 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue