]> git.lizzy.rs Git - rust.git/blob - src/test/ui/parser/keyword-move-as-identifier.stderr
Merge commit 'd3a2366ee877075c59b38bd8ced55f224fc7ef51' into sync_cg_clif-2022-07-26
[rust.git] / src / test / ui / parser / keyword-move-as-identifier.stderr
1 error: expected identifier, found keyword `move`
2   --> $DIR/keyword-move-as-identifier.rs:4:9
3    |
4 LL |     let move = "foo";
5    |         ^^^^ expected identifier, found keyword
6    |
7 help: escape `move` to use it as an identifier
8    |
9 LL |     let r#move = "foo";
10    |         ++
11
12 error: aborting due to previous error
13