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