2018-10-20 23:36:17 +03:00
|
|
|
error: expected identifier, found reserved keyword `macro`
|
2019-01-06 18:33:05 +03:00
|
|
|
--> $DIR/macro-keyword.rs:1:4
|
2018-10-20 23:36:17 +03:00
|
|
|
|
|
2019-03-09 15:03:44 +03:00
|
|
|
LL | fn macro() {
|
2018-10-20 23:36:17 +03:00
|
|
|
| ^^^^^ expected identifier, found reserved keyword
|
2018-12-30 11:52:15 -08:00
|
|
|
help: you can escape reserved keywords to use them as identifiers
|
|
|
|
|
|
2019-03-09 15:03:44 +03:00
|
|
|
LL | fn r#macro() {
|
2018-12-30 11:52:15 -08:00
|
|
|
| ^^^^^^^
|
2018-10-20 23:36:17 +03:00
|
|
|
|
|
|
|
error: aborting due to previous error
|
|
|
|
|