Closed
Description
Given the following code: https://play.rust-lang.org/?version=nightly&mode=debug&edition=2021&gist=0c755cbfa505e42fb58dd902968675e5
Struct Foo {
hello: String,
}
The current output is:
error: expected one of `!`, `.`, `::`, `;`, `?`, `{`, `}`, or an operator, found `Foo`
--> src/main.rs:2:8
|
2 | Struct Foo {
| ^^^ expected one of 8 possible tokens
Identical on stable and nightly (per playground).
It would be friendler to show some help about the proper casing of struct
.