1 error: expected identifier, found keyword `let`
2 --> $DIR/removed-syntax-field-let-2.rs:2:5
7 | expected identifier, found keyword
8 | help: remove this `let` keyword
10 = note: the `let` keyword is not allowed in `struct` fields
11 = note: see <https://doc.rust-lang.org/book/ch05-01-defining-structs.html> for more information
13 error: expected identifier, found keyword `let`
14 --> $DIR/removed-syntax-field-let-2.rs:4:5
19 | expected identifier, found keyword
20 | help: remove this `let` keyword
22 = note: the `let` keyword is not allowed in `struct` fields
23 = note: see <https://doc.rust-lang.org/book/ch05-01-defining-structs.html> for more information
25 error[E0063]: missing fields `x` and `y` in initializer of `Foo`
26 --> $DIR/removed-syntax-field-let-2.rs:9:13
29 | ^^^ missing `x` and `y`
31 error: aborting due to 3 previous errors
33 For more information about this error, try `rustc --explain E0063`.