rust/tests/ui/parser/macro/macro-keyword.stderr
Josh Triplett 6d64306df1 Move macro tests in parser into macro directory
The `macro` directory contains most of the macro tests, but not all of
them; move the remainder into `macro`.
2025-07-05 16:52:59 -07:00

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