rust/tests/ui/parser/removed-syntax-field-let.stderr

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

15 lines
437 B
Plaintext
Raw Normal View History

2018-10-20 15:36:17 -05:00
error: expected identifier, found keyword `let`
2019-05-31 15:50:04 -05:00
--> $DIR/removed-syntax-field-let.rs:2:5
2018-10-20 15:36:17 -05:00
|
LL | let foo: (),
2022-10-11 12:01:22 -05:00
| ^^^-
| |
| expected identifier, found keyword
| help: remove this `let` keyword
|
= note: the `let` keyword is not allowed in `struct` fields
= note: see <https://doc.rust-lang.org/book/ch05-01-defining-structs.html> for more information
2018-10-20 15:36:17 -05:00
error: aborting due to 1 previous error
2018-10-20 15:36:17 -05:00