error[E0609]: no field `baa` on type `BuildData` | |
--> $DIR/struct-fields-typo.rs:21:17 | |
| | |
LL | let x = foo.baa;//~ no field `baa` on type `BuildData` | |
| ^^^ did you mean `bar`? | |
error: aborting due to previous error | |
For more information about this error, try `rustc --explain E0609`. |