fork/rust
git clone https://git.julia.blue/fork/rust
3bcad65fbf6
master
1error: expected identifier, found keyword `let` 2 --> $DIR/removed-syntax-field-let-2.rs:2:5 3 | 4LL | let x: i32, 5 | ^^^- 6 | | 7 | expected identifier, found keyword 8 | help: remove this `let` keyword 9 | 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 12 13error: expected identifier, found keyword `let` 14 --> $DIR/removed-syntax-field-let-2.rs:4:5 15 | 16LL | let y: i32, 17 | ^^^- 18 | | 19 | expected identifier, found keyword 20 | help: remove this `let` keyword 21 | 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 24 25error[E0063]: missing fields `x` and `y` in initializer of `Foo` 26 --> $DIR/removed-syntax-field-let-2.rs:9:13 27 | 28LL | let _ = Foo { 29 | ^^^ missing `x` and `y` 30 31error: aborting due to 3 previous errors 32 33For more information about this error, try `rustc --explain E0063`.