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