2019-08-27 19:04:48 +08:00
|
|
|
error: expected identifier, found keyword `move`
|
2019-01-06 23:33:05 +08:00
|
|
|
--> $DIR/keyword-move-as-identifier.rs:4:9
|
2018-10-21 04:36:17 +08:00
|
|
|
|
|
2019-03-09 20:03:44 +08:00
|
|
|
LL | let move = "foo";
|
2019-08-27 19:04:48 +08:00
|
|
|
| ^^^^ expected identifier, found keyword
|
2019-10-24 13:20:58 +08:00
|
|
|
|
|
2022-01-28 06:53:39 +08:00
|
|
|
help: escape `move` to use it as an identifier
|
2019-08-27 19:04:48 +08:00
|
|
|
|
|
|
|
|
LL | let r#move = "foo";
|
2022-01-28 06:53:39 +08:00
|
|
|
| ++
|
2018-10-21 04:36:17 +08:00
|
|
|
|
2023-11-21 23:44:16 +08:00
|
|
|
error: aborting due to 1 previous error
|
2018-10-21 04:36:17 +08:00
|
|
|
|