fork/rust

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

borsAuto merge of #66089 - Mark-Simulacrum:stable-next, r=Mark-Simulacrum4560ea788cb

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