rust/tests/ui/structs/struct-fields-hints.stderr

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

15 lines
347 B
Plaintext
Raw Normal View History

error[E0560]: struct `A` has no field named `bar`
2018-12-25 15:56:47 +00:00
--> $DIR/struct-fields-hints.rs:10:9
|
2018-02-24 23:59:34 +00:00
LL | bar : 42,
2023-11-18 00:40:11 +00:00
| ^^^ unknown field
|
help: a field with a similar name exists
|
LL | car : 42,
| ~~~
error: aborting due to previous error
2018-03-03 14:59:40 +00:00
For more information about this error, try `rustc --explain E0560`.