2020-11-18 16:49:20 -06:00
|
|
|
error: expected non-macro attribute, found attribute macro `id`
|
2021-03-08 17:43:18 -06:00
|
|
|
--> $DIR/proc-macro-cannot-be-used.rs:11:23
|
2019-08-31 00:08:23 -05:00
|
|
|
|
|
|
|
|
LL | extern "C" { fn ffi(#[id] arg1: i32, #[id] ...); }
|
2020-11-18 16:49:20 -06:00
|
|
|
| ^^ not a non-macro attribute
|
2019-08-31 00:08:23 -05:00
|
|
|
|
2020-11-18 16:49:20 -06:00
|
|
|
error: expected non-macro attribute, found attribute macro `id`
|
2021-03-08 17:43:18 -06:00
|
|
|
--> $DIR/proc-macro-cannot-be-used.rs:11:40
|
2019-08-31 00:08:23 -05:00
|
|
|
|
|
|
|
|
LL | extern "C" { fn ffi(#[id] arg1: i32, #[id] ...); }
|
2020-11-18 16:49:20 -06:00
|
|
|
| ^^ not a non-macro attribute
|
2019-08-31 00:08:23 -05:00
|
|
|
|
2020-11-18 16:49:20 -06:00
|
|
|
error: expected non-macro attribute, found attribute macro `id`
|
2021-03-08 17:43:18 -06:00
|
|
|
--> $DIR/proc-macro-cannot-be-used.rs:15:40
|
2019-08-31 00:08:23 -05:00
|
|
|
|
|
|
|
|
LL | unsafe extern "C" fn cvar(arg1: i32, #[id] mut args: ...) {}
|
2020-11-18 16:49:20 -06:00
|
|
|
| ^^ not a non-macro attribute
|
2019-08-31 00:08:23 -05:00
|
|
|
|
2020-11-18 16:49:20 -06:00
|
|
|
error: expected non-macro attribute, found attribute macro `id`
|
2021-03-08 17:43:18 -06:00
|
|
|
--> $DIR/proc-macro-cannot-be-used.rs:18:30
|
2019-08-31 00:08:23 -05:00
|
|
|
|
|
|
|
|
LL | type Alias = extern "C" fn(#[id] u8, #[id] ...);
|
2020-11-18 16:49:20 -06:00
|
|
|
| ^^ not a non-macro attribute
|
2019-08-31 00:08:23 -05:00
|
|
|
|
2020-11-18 16:49:20 -06:00
|
|
|
error: expected non-macro attribute, found attribute macro `id`
|
2021-03-08 17:43:18 -06:00
|
|
|
--> $DIR/proc-macro-cannot-be-used.rs:18:40
|
2019-08-31 00:08:23 -05:00
|
|
|
|
|
|
|
|
LL | type Alias = extern "C" fn(#[id] u8, #[id] ...);
|
2020-11-18 16:49:20 -06:00
|
|
|
| ^^ not a non-macro attribute
|
2019-08-31 00:08:23 -05:00
|
|
|
|
2020-11-18 16:49:20 -06:00
|
|
|
error: expected non-macro attribute, found attribute macro `id`
|
2021-03-08 17:43:18 -06:00
|
|
|
--> $DIR/proc-macro-cannot-be-used.rs:22:11
|
2019-08-31 00:08:23 -05:00
|
|
|
|
|
|
|
|
LL | fn free(#[id] arg1: u8) {
|
2020-11-18 16:49:20 -06:00
|
|
|
| ^^ not a non-macro attribute
|
2019-08-31 00:08:23 -05:00
|
|
|
|
2020-11-18 16:49:20 -06:00
|
|
|
error: expected non-macro attribute, found attribute macro `id`
|
2021-03-08 17:43:18 -06:00
|
|
|
--> $DIR/proc-macro-cannot-be-used.rs:24:18
|
2019-08-31 00:08:23 -05:00
|
|
|
|
|
2019-09-24 13:05:49 -05:00
|
|
|
LL | let lam = |#[id] W(x), #[id] y: usize| ();
|
2020-11-18 16:49:20 -06:00
|
|
|
| ^^ not a non-macro attribute
|
2019-08-31 00:08:23 -05:00
|
|
|
|
2020-11-18 16:49:20 -06:00
|
|
|
error: expected non-macro attribute, found attribute macro `id`
|
2021-03-08 17:43:18 -06:00
|
|
|
--> $DIR/proc-macro-cannot-be-used.rs:24:30
|
2019-08-31 00:08:23 -05:00
|
|
|
|
|
2019-09-24 13:05:49 -05:00
|
|
|
LL | let lam = |#[id] W(x), #[id] y: usize| ();
|
2020-11-18 16:49:20 -06:00
|
|
|
| ^^ not a non-macro attribute
|
2019-08-31 00:08:23 -05:00
|
|
|
|
2020-11-18 16:49:20 -06:00
|
|
|
error: expected non-macro attribute, found attribute macro `id`
|
2021-03-08 17:43:18 -06:00
|
|
|
--> $DIR/proc-macro-cannot-be-used.rs:30:20
|
2019-08-31 00:08:23 -05:00
|
|
|
|
|
|
|
|
LL | fn inherent1(#[id] self, #[id] arg1: u8) {}
|
2020-11-18 16:49:20 -06:00
|
|
|
| ^^ not a non-macro attribute
|
2019-08-31 00:08:23 -05:00
|
|
|
|
2020-11-18 16:49:20 -06:00
|
|
|
error: expected non-macro attribute, found attribute macro `id`
|
2021-03-08 17:43:18 -06:00
|
|
|
--> $DIR/proc-macro-cannot-be-used.rs:30:32
|
2019-08-31 00:08:23 -05:00
|
|
|
|
|
|
|
|
LL | fn inherent1(#[id] self, #[id] arg1: u8) {}
|
2020-11-18 16:49:20 -06:00
|
|
|
| ^^ not a non-macro attribute
|
2019-08-31 00:08:23 -05:00
|
|
|
|
2020-11-18 16:49:20 -06:00
|
|
|
error: expected non-macro attribute, found attribute macro `id`
|
2021-03-08 17:43:18 -06:00
|
|
|
--> $DIR/proc-macro-cannot-be-used.rs:33:20
|
2019-08-31 00:08:23 -05:00
|
|
|
|
|
|
|
|
LL | fn inherent2(#[id] &self, #[id] arg1: u8) {}
|
2020-11-18 16:49:20 -06:00
|
|
|
| ^^ not a non-macro attribute
|
2019-08-31 00:08:23 -05:00
|
|
|
|
2020-11-18 16:49:20 -06:00
|
|
|
error: expected non-macro attribute, found attribute macro `id`
|
2021-03-08 17:43:18 -06:00
|
|
|
--> $DIR/proc-macro-cannot-be-used.rs:33:33
|
2019-08-31 00:08:23 -05:00
|
|
|
|
|
|
|
|
LL | fn inherent2(#[id] &self, #[id] arg1: u8) {}
|
2020-11-18 16:49:20 -06:00
|
|
|
| ^^ not a non-macro attribute
|
2019-08-31 00:08:23 -05:00
|
|
|
|
2020-11-18 16:49:20 -06:00
|
|
|
error: expected non-macro attribute, found attribute macro `id`
|
2021-03-08 17:43:18 -06:00
|
|
|
--> $DIR/proc-macro-cannot-be-used.rs:36:24
|
2019-08-31 00:08:23 -05:00
|
|
|
|
|
|
|
|
LL | fn inherent3<'a>(#[id] &'a mut self, #[id] arg1: u8) {}
|
2020-11-18 16:49:20 -06:00
|
|
|
| ^^ not a non-macro attribute
|
2019-08-31 00:08:23 -05:00
|
|
|
|
2020-11-18 16:49:20 -06:00
|
|
|
error: expected non-macro attribute, found attribute macro `id`
|
2021-03-08 17:43:18 -06:00
|
|
|
--> $DIR/proc-macro-cannot-be-used.rs:36:44
|
2019-08-31 00:08:23 -05:00
|
|
|
|
|
|
|
|
LL | fn inherent3<'a>(#[id] &'a mut self, #[id] arg1: u8) {}
|
2020-11-18 16:49:20 -06:00
|
|
|
| ^^ not a non-macro attribute
|
2019-08-31 00:08:23 -05:00
|
|
|
|
2020-11-18 16:49:20 -06:00
|
|
|
error: expected non-macro attribute, found attribute macro `id`
|
2021-03-08 17:43:18 -06:00
|
|
|
--> $DIR/proc-macro-cannot-be-used.rs:39:24
|
2019-08-31 00:08:23 -05:00
|
|
|
|
|
|
|
|
LL | fn inherent4<'a>(#[id] self: Box<Self>, #[id] arg1: u8) {}
|
2020-11-18 16:49:20 -06:00
|
|
|
| ^^ not a non-macro attribute
|
2019-08-31 00:08:23 -05:00
|
|
|
|
2020-11-18 16:49:20 -06:00
|
|
|
error: expected non-macro attribute, found attribute macro `id`
|
2021-03-08 17:43:18 -06:00
|
|
|
--> $DIR/proc-macro-cannot-be-used.rs:39:47
|
2019-08-31 00:08:23 -05:00
|
|
|
|
|
|
|
|
LL | fn inherent4<'a>(#[id] self: Box<Self>, #[id] arg1: u8) {}
|
2020-11-18 16:49:20 -06:00
|
|
|
| ^^ not a non-macro attribute
|
2019-08-31 00:08:23 -05:00
|
|
|
|
2020-11-18 16:49:20 -06:00
|
|
|
error: expected non-macro attribute, found attribute macro `id`
|
2021-03-08 17:43:18 -06:00
|
|
|
--> $DIR/proc-macro-cannot-be-used.rs:42:40
|
2019-09-29 02:26:02 -05:00
|
|
|
|
|
|
|
|
LL | fn issue_64682_associated_fn<'a>(#[id] arg1: u8, #[id] arg2: u8) {}
|
2020-11-18 16:49:20 -06:00
|
|
|
| ^^ not a non-macro attribute
|
2019-09-29 02:26:02 -05:00
|
|
|
|
2020-11-18 16:49:20 -06:00
|
|
|
error: expected non-macro attribute, found attribute macro `id`
|
2021-03-08 17:43:18 -06:00
|
|
|
--> $DIR/proc-macro-cannot-be-used.rs:42:56
|
2019-09-29 02:26:02 -05:00
|
|
|
|
|
|
|
|
LL | fn issue_64682_associated_fn<'a>(#[id] arg1: u8, #[id] arg2: u8) {}
|
2020-11-18 16:49:20 -06:00
|
|
|
| ^^ not a non-macro attribute
|
2019-09-29 02:26:02 -05:00
|
|
|
|
2020-11-18 16:49:20 -06:00
|
|
|
error: expected non-macro attribute, found attribute macro `id`
|
2021-03-08 17:43:18 -06:00
|
|
|
--> $DIR/proc-macro-cannot-be-used.rs:48:17
|
2019-08-31 00:08:23 -05:00
|
|
|
|
|
|
|
|
LL | fn trait1(#[id] self, #[id] arg1: u8);
|
2020-11-18 16:49:20 -06:00
|
|
|
| ^^ not a non-macro attribute
|
2019-08-31 00:08:23 -05:00
|
|
|
|
2020-11-18 16:49:20 -06:00
|
|
|
error: expected non-macro attribute, found attribute macro `id`
|
2021-03-08 17:43:18 -06:00
|
|
|
--> $DIR/proc-macro-cannot-be-used.rs:48:29
|
2019-08-31 00:08:23 -05:00
|
|
|
|
|
|
|
|
LL | fn trait1(#[id] self, #[id] arg1: u8);
|
2020-11-18 16:49:20 -06:00
|
|
|
| ^^ not a non-macro attribute
|
2019-08-31 00:08:23 -05:00
|
|
|
|
2020-11-18 16:49:20 -06:00
|
|
|
error: expected non-macro attribute, found attribute macro `id`
|
2021-03-08 17:43:18 -06:00
|
|
|
--> $DIR/proc-macro-cannot-be-used.rs:51:17
|
2019-08-31 00:08:23 -05:00
|
|
|
|
|
|
|
|
LL | fn trait2(#[id] &self, #[id] arg1: u8);
|
2020-11-18 16:49:20 -06:00
|
|
|
| ^^ not a non-macro attribute
|
2019-08-31 00:08:23 -05:00
|
|
|
|
2020-11-18 16:49:20 -06:00
|
|
|
error: expected non-macro attribute, found attribute macro `id`
|
2021-03-08 17:43:18 -06:00
|
|
|
--> $DIR/proc-macro-cannot-be-used.rs:51:30
|
2019-08-31 00:08:23 -05:00
|
|
|
|
|
|
|
|
LL | fn trait2(#[id] &self, #[id] arg1: u8);
|
2020-11-18 16:49:20 -06:00
|
|
|
| ^^ not a non-macro attribute
|
2019-08-31 00:08:23 -05:00
|
|
|
|
2020-11-18 16:49:20 -06:00
|
|
|
error: expected non-macro attribute, found attribute macro `id`
|
2021-03-08 17:43:18 -06:00
|
|
|
--> $DIR/proc-macro-cannot-be-used.rs:54:21
|
2019-08-31 00:08:23 -05:00
|
|
|
|
|
|
|
|
LL | fn trait3<'a>(#[id] &'a mut self, #[id] arg1: u8);
|
2020-11-18 16:49:20 -06:00
|
|
|
| ^^ not a non-macro attribute
|
2019-08-31 00:08:23 -05:00
|
|
|
|
2020-11-18 16:49:20 -06:00
|
|
|
error: expected non-macro attribute, found attribute macro `id`
|
2021-03-08 17:43:18 -06:00
|
|
|
--> $DIR/proc-macro-cannot-be-used.rs:54:41
|
2019-08-31 00:08:23 -05:00
|
|
|
|
|
|
|
|
LL | fn trait3<'a>(#[id] &'a mut self, #[id] arg1: u8);
|
2020-11-18 16:49:20 -06:00
|
|
|
| ^^ not a non-macro attribute
|
2019-08-31 00:08:23 -05:00
|
|
|
|
2020-11-18 16:49:20 -06:00
|
|
|
error: expected non-macro attribute, found attribute macro `id`
|
2021-03-08 17:43:18 -06:00
|
|
|
--> $DIR/proc-macro-cannot-be-used.rs:57:21
|
2019-08-31 00:08:23 -05:00
|
|
|
|
|
|
|
|
LL | fn trait4<'a>(#[id] self: Box<Self>, #[id] arg1: u8, #[id] Vec<u8>);
|
2020-11-18 16:49:20 -06:00
|
|
|
| ^^ not a non-macro attribute
|
2019-08-31 00:08:23 -05:00
|
|
|
|
2020-11-18 16:49:20 -06:00
|
|
|
error: expected non-macro attribute, found attribute macro `id`
|
2021-03-08 17:43:18 -06:00
|
|
|
--> $DIR/proc-macro-cannot-be-used.rs:57:44
|
2019-08-31 00:08:23 -05:00
|
|
|
|
|
|
|
|
LL | fn trait4<'a>(#[id] self: Box<Self>, #[id] arg1: u8, #[id] Vec<u8>);
|
2020-11-18 16:49:20 -06:00
|
|
|
| ^^ not a non-macro attribute
|
2019-08-31 00:08:23 -05:00
|
|
|
|
2020-11-18 16:49:20 -06:00
|
|
|
error: expected non-macro attribute, found attribute macro `id`
|
2021-03-08 17:43:18 -06:00
|
|
|
--> $DIR/proc-macro-cannot-be-used.rs:57:60
|
2019-08-31 00:08:23 -05:00
|
|
|
|
|
|
|
|
LL | fn trait4<'a>(#[id] self: Box<Self>, #[id] arg1: u8, #[id] Vec<u8>);
|
2020-11-18 16:49:20 -06:00
|
|
|
| ^^ not a non-macro attribute
|
2019-08-31 00:08:23 -05:00
|
|
|
|
2020-11-18 16:49:20 -06:00
|
|
|
error: expected non-macro attribute, found attribute macro `id`
|
2021-03-08 17:43:18 -06:00
|
|
|
--> $DIR/proc-macro-cannot-be-used.rs:61:40
|
2019-09-29 02:26:02 -05:00
|
|
|
|
|
|
|
|
LL | fn issue_64682_associated_fn<'a>(#[id] arg1: u8, #[id] arg2: u8);
|
2020-11-18 16:49:20 -06:00
|
|
|
| ^^ not a non-macro attribute
|
2019-09-29 02:26:02 -05:00
|
|
|
|
2020-11-18 16:49:20 -06:00
|
|
|
error: expected non-macro attribute, found attribute macro `id`
|
2021-03-08 17:43:18 -06:00
|
|
|
--> $DIR/proc-macro-cannot-be-used.rs:61:56
|
2019-09-29 02:26:02 -05:00
|
|
|
|
|
|
|
|
LL | fn issue_64682_associated_fn<'a>(#[id] arg1: u8, #[id] arg2: u8);
|
2020-11-18 16:49:20 -06:00
|
|
|
| ^^ not a non-macro attribute
|
2019-09-29 02:26:02 -05:00
|
|
|
|
|
|
|
error: aborting due to 29 previous errors
|
2019-08-31 00:08:23 -05:00
|
|
|
|