2017-06-10 14:19:40 -05:00
|
|
|
error[E0609]: no field `baz` on type `Foo`
|
2018-12-25 09:56:47 -06:00
|
|
|
--> $DIR/issue-36798.rs:7:7
|
2016-09-28 04:27:23 -05:00
|
|
|
|
|
2019-03-09 06:03:44 -06:00
|
|
|
LL | f.baz;
|
2023-11-09 00:01:10 -06:00
|
|
|
| ^^^ unknown field
|
2023-10-24 18:31:47 -05:00
|
|
|
|
|
|
|
|
help: a field with a similar name exists
|
|
|
|
|
|
|
|
|
LL | f.bar;
|
|
|
|
| ~~~
|
2016-09-28 04:27:23 -05:00
|
|
|
|
2023-11-21 09:44:16 -06:00
|
|
|
error: aborting due to 1 previous error
|
2016-09-28 04:27:23 -05:00
|
|
|
|
2018-03-03 08:59:40 -06:00
|
|
|
For more information about this error, try `rustc --explain E0609`.
|