]> git.lizzy.rs Git - rust.git/blob - src/test/ui/parser/macro-keyword.stderr
Rollup merge of #67005 - andrewbanchich:master, r=joshtriplett
[rust.git] / src / test / ui / parser / macro-keyword.stderr
1 error: expected identifier, found reserved keyword `macro`
2   --> $DIR/macro-keyword.rs:1:4
3    |
4 LL | fn macro() {
5    |    ^^^^^ expected identifier, found reserved keyword
6    |
7 help: you can escape reserved keywords to use them as identifiers
8    |
9 LL | fn r#macro() {
10    |    ^^^^^^^
11
12 error: aborting due to previous error
13