1error[E0609]: no field `baz` on type `Foo`
2  --> $DIR/issue-36798.rs:7:7
3   |
4LL |     f.baz;
5   |       ^^^ help: a field with a similar name exists: `bar`
6
7error: aborting due to previous error
8
9For more information about this error, try `rustc --explain E0609`.
10