2018-12-29 18:35:57 -06:00
|
|
|
error: expected identifier, found keyword `for`
|
|
|
|
--> $DIR/issue-57198.rs:6:8
|
|
|
|
|
|
|
|
|
LL | m::for();
|
|
|
|
| ^^^ expected identifier, found keyword
|
2019-10-24 00:20:58 -05:00
|
|
|
|
|
2018-12-31 10:41:05 -06:00
|
|
|
help: you can escape reserved keywords to use them as identifiers
|
|
|
|
|
|
|
|
|
LL | m::r#for();
|
2021-06-21 21:07:19 -05:00
|
|
|
| ~~~~~
|
2018-12-29 18:35:57 -06:00
|
|
|
|
|
|
|
error: aborting due to previous error
|
|
|
|
|