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