about summary refs log tree commit diff
path: root/tests/ui/editions/nested-macro-rules-edition.e2021.stderr
blob: eac80262364baf208cb207f775b3cb34c8f7a20b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
error: expected identifier, found reserved keyword `gen`
  --> $DIR/nested-macro-rules-edition.rs:30:5
   |
LL |     macro_inner_input!{}
   |     ^^^^^^^^^^^^^^^^^^^^ expected identifier, found reserved keyword
   |
   = note: this error originates in the macro `macro_inner_input` (in Nightly builds, run with -Z macro-backtrace for more info)
help: escape `gen` to use it as an identifier
   |
LL |     nested_macro_rules_dep::make_macro_with_input!{r#gen}
   |                                                    ++

error: expected identifier, found reserved keyword `gen`
  --> $DIR/nested-macro-rules-edition.rs:35:5
   |
LL |     macro_inner!{}
   |     ^^^^^^^^^^^^^^ expected identifier, found reserved keyword
   |
   = note: this error originates in the macro `macro_inner` (in Nightly builds, run with -Z macro-backtrace for more info)
help: escape `gen` to use it as an identifier
  --> $DIR/auxiliary/nested_macro_rules_dep_2024.rs:19:24
   |
LL |                 pub fn r#gen() {}
   |                        ++

error: aborting due to 2 previous errors