]> git.lizzy.rs Git - rust.git/blob - src/test/ui/parser/macro-keyword.stderr
Account for cases where we can find the type arg name, but the local name is `_`
[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 help: you can escape reserved keywords to use them as identifiers
7    |
8 LL | fn r#macro() {
9    |    ^^^^^^^
10
11 error: aborting due to previous error
12