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

error: aborting due to previous error