fork/rust

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

borsAuto merge of #71365 - Mark-Simulacrum:stable-next, r=Mark-Simulacrum4fb7144ed15

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