summaryrefslogtreecommitdiffstats
path: root/tests/ui/proc-macro/reserved-macro-names.stderr
blob: 39bdd03be863a21e9bd370697adef9f320952bcb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
error: name `cfg` is reserved in attribute namespace
  --> $DIR/reserved-macro-names.rs:10:8
   |
LL | pub fn cfg(_: TokenStream, input: TokenStream) -> TokenStream {
   |        ^^^

error: name `cfg_attr` is reserved in attribute namespace
  --> $DIR/reserved-macro-names.rs:16:8
   |
LL | pub fn cfg_attr(_: TokenStream, input: TokenStream) -> TokenStream {
   |        ^^^^^^^^

error: aborting due to 2 previous errors