mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-01 06:51:58 +00:00
14 lines
301 B
Plaintext
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
|
|
|