2018-09-10 16:30:21 -05:00
|
|
|
error: name `cfg` is reserved in macro namespace
|
2018-11-24 07:34:13 -06:00
|
|
|
--> $DIR/reserved-macro-names.rs:10:8
|
2018-09-10 16:30:21 -05:00
|
|
|
|
|
|
|
|
LL | pub fn cfg(_: TokenStream, input: TokenStream) -> TokenStream {
|
|
|
|
| ^^^
|
|
|
|
|
|
|
|
error: name `cfg_attr` is reserved in macro namespace
|
2018-11-24 07:34:13 -06:00
|
|
|
--> $DIR/reserved-macro-names.rs:16:8
|
2018-09-10 16:30:21 -05:00
|
|
|
|
|
|
|
|
LL | pub fn cfg_attr(_: TokenStream, input: TokenStream) -> TokenStream {
|
|
|
|
| ^^^^^^^^
|
|
|
|
|
|
|
|
error: name `derive` is reserved in macro namespace
|
2018-11-24 07:34:13 -06:00
|
|
|
--> $DIR/reserved-macro-names.rs:22:8
|
2018-09-10 16:30:21 -05:00
|
|
|
|
|
|
|
|
LL | pub fn derive(_: TokenStream, input: TokenStream) -> TokenStream {
|
|
|
|
| ^^^^^^
|
|
|
|
|
|
|
|
error: aborting due to 3 previous errors
|
|
|
|
|