fork/rust

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

borsAuto merge of #68568 - pietroalbini:stable-next, r=pietroalbini5e1a799842b

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