summaryrefslogtreecommitdiffstats
path: root/tests/ui/parser/macro-keyword.stderr
blob: d794671f8ab2fdc6d6074adae3c1ed5e55485155 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
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