fork/rust

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

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

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