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