mirror of
https://github.com/rust-lang/rust.git
synced 2024-12-02 11:44:28 +00:00
41e8d152dc
Co-authored-by: Adrian <adrian.iosdev@gmail.com>
14 lines
303 B
Plaintext
14 lines
303 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 1 previous error
|
|
|