]> git.lizzy.rs Git - rust.git/blob - tests/ui/parser/macro-keyword.stderr
Auto merge of #107843 - bjorn3:sync_cg_clif-2023-02-09, r=bjorn3
[rust.git] / tests / 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: escape `macro` to use it as an identifier
8    |
9 LL | fn r#macro() {
10    |    ++
11
12 error: aborting due to previous error
13