summaryrefslogtreecommitdiffstats
path: root/tests/ui/parser/keyword-continue-as-identifier.stderr
blob: 2519000d28e763581c5c9ff358910d29980c01ef (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 1 previous error