2019-05-21 19:47:23 -05:00
|
|
|
error: malformed `proc_macro` attribute input
|
2018-12-25 09:56:47 -06:00
|
|
|
--> $DIR/invalid-attributes.rs:10:1
|
2018-07-11 17:49:23 -05:00
|
|
|
|
|
2019-03-09 06:03:44 -06:00
|
|
|
LL | #[proc_macro = "test"]
|
2019-05-21 19:47:23 -05:00
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^ help: must be of the form: `#[proc_macro]`
|
2018-07-11 17:49:23 -05:00
|
|
|
|
2019-05-21 19:47:23 -05:00
|
|
|
error: malformed `proc_macro` attribute input
|
2018-12-25 09:56:47 -06:00
|
|
|
--> $DIR/invalid-attributes.rs:13:1
|
2018-07-11 17:49:23 -05:00
|
|
|
|
|
2019-03-09 06:03:44 -06:00
|
|
|
LL | #[proc_macro()]
|
2019-05-21 19:47:23 -05:00
|
|
|
| ^^^^^^^^^^^^^^^ help: must be of the form: `#[proc_macro]`
|
2018-07-11 17:49:23 -05:00
|
|
|
|
2019-05-21 19:47:23 -05:00
|
|
|
error: malformed `proc_macro` attribute input
|
2018-12-25 09:56:47 -06:00
|
|
|
--> $DIR/invalid-attributes.rs:16:1
|
2018-07-11 17:49:23 -05:00
|
|
|
|
|
2019-03-09 06:03:44 -06:00
|
|
|
LL | #[proc_macro(x)]
|
2019-05-21 19:47:23 -05:00
|
|
|
| ^^^^^^^^^^^^^^^^ help: must be of the form: `#[proc_macro]`
|
2018-07-11 17:49:23 -05:00
|
|
|
|
2019-05-21 19:47:23 -05:00
|
|
|
error: malformed `proc_macro_attribute` attribute input
|
2018-12-25 09:56:47 -06:00
|
|
|
--> $DIR/invalid-attributes.rs:19:1
|
2018-07-11 17:49:23 -05:00
|
|
|
|
|
2019-03-09 06:03:44 -06:00
|
|
|
LL | #[proc_macro_attribute = "test"]
|
2019-05-21 19:47:23 -05:00
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: must be of the form: `#[proc_macro_attribute]`
|
2018-07-11 17:49:23 -05:00
|
|
|
|
2019-05-21 19:47:23 -05:00
|
|
|
error: malformed `proc_macro_attribute` attribute input
|
2018-12-25 09:56:47 -06:00
|
|
|
--> $DIR/invalid-attributes.rs:22:1
|
2018-07-11 17:49:23 -05:00
|
|
|
|
|
2019-03-09 06:03:44 -06:00
|
|
|
LL | #[proc_macro_attribute()]
|
2019-05-21 19:47:23 -05:00
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^ help: must be of the form: `#[proc_macro_attribute]`
|
2018-07-11 17:49:23 -05:00
|
|
|
|
2019-05-21 19:47:23 -05:00
|
|
|
error: malformed `proc_macro_attribute` attribute input
|
2018-12-25 09:56:47 -06:00
|
|
|
--> $DIR/invalid-attributes.rs:25:1
|
2018-07-11 17:49:23 -05:00
|
|
|
|
|
2019-03-09 06:03:44 -06:00
|
|
|
LL | #[proc_macro_attribute(x)]
|
2019-05-21 19:47:23 -05:00
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: must be of the form: `#[proc_macro_attribute]`
|
2018-07-11 17:49:23 -05:00
|
|
|
|
|
|
|
error: aborting due to 6 previous errors
|
|
|
|
|