mirror of
https://github.com/rust-lang/rust
synced 2024-11-05 20:45:15 +00:00
13 lines
301 B
Text
13 lines
301 B
Text
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
|
|
|