fork/rust

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

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

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