fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #69444 - pietroalbini:stable-next-final-v2-new, r=pietroalbinif3e1a954d2e

1.41.1
344 B13 linesraw
1error: expected identifier, found keyword `enum`
2  --> $DIR/keyword-enum-as-identifier.rs:4:9
3   |
4LL |     let enum = "foo";
5   |         ^^^^ expected identifier, found keyword
6   |
7help: you can escape reserved keywords to use them as identifiers
8   |
9LL |     let r#enum = "foo";
10   |         ^^^^^^
11
12error: aborting due to previous error
13