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
435 B
Plaintext
Raw Normal View History

2018-10-20 20:36:17 +00:00
error: expected identifier, found keyword `let`
2019-05-31 20:50:04 +00:00
--> $DIR/removed-syntax-field-let.rs:2:5
2018-10-20 20:36:17 +00:00
|
LL | let foo: (),
2022-10-11 17:01:22 +00: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 20:36:17 +00:00
error: aborting due to previous error
2018-10-20 20:36:17 +00:00