fork/rust

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

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

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