os-rust/tests/ui/structs/struct-fields-hints-no-dupe.stderr

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

15 lines
359 B
Text
Raw Normal View History

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