summaryrefslogtreecommitdiffstats
path: root/tests/ui/parser/keyword-continue-as-identifier.stderr
blob: 81285633faa10a0e87f026b87bff6ce73d7b0e56 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
error: expected identifier, found keyword `continue`
  --> $DIR/keyword-continue-as-identifier.rs:4:9
   |
LL |     let continue = "foo";
   |         ^^^^^^^^ expected identifier, found keyword
   |
help: escape `continue` to use it as an identifier
   |
LL |     let r#continue = "foo";
   |         ++

error: aborting due to previous error