]> git.lizzy.rs Git - rust.git/blob - tests/ui/proc-macro/reserved-macro-names.stderr
Rollup merge of #107470 - kadiwa4:bootstrap_cleanup, r=albertlarsan68
[rust.git] / tests / ui / proc-macro / reserved-macro-names.stderr
1 error: name `cfg` is reserved in attribute namespace
2   --> $DIR/reserved-macro-names.rs:10:8
3    |
4 LL | pub fn cfg(_: TokenStream, input: TokenStream) -> TokenStream {
5    |        ^^^
6
7 error: name `cfg_attr` is reserved in attribute namespace
8   --> $DIR/reserved-macro-names.rs:16:8
9    |
10 LL | pub fn cfg_attr(_: TokenStream, input: TokenStream) -> TokenStream {
11    |        ^^^^^^^^
12
13 error: aborting due to 2 previous errors
14