rust/tests/ui/parser/macro-keyword.stderr
2023-01-11 09:32:08 +00:00

14 lines
301 B
Plaintext

error: expected identifier, found reserved keyword `macro`
--> $DIR/macro-keyword.rs:1:4
|
LL | fn macro() {
| ^^^^^ expected identifier, found reserved keyword
|
help: escape `macro` to use it as an identifier
|
LL | fn r#macro() {
| ++
error: aborting due to previous error