1 error: expected an inert attribute, found an attribute macro
2 --> $DIR/proc-macro-cannot-be-used.rs:10:21
4 LL | extern "C" { fn ffi(#[id] arg1: i32, #[id] ...); }
7 error: expected an inert attribute, found an attribute macro
8 --> $DIR/proc-macro-cannot-be-used.rs:10:38
10 LL | extern "C" { fn ffi(#[id] arg1: i32, #[id] ...); }
13 error: expected an inert attribute, found an attribute macro
14 --> $DIR/proc-macro-cannot-be-used.rs:14:38
16 LL | unsafe extern "C" fn cvar(arg1: i32, #[id] mut args: ...) {}
19 error: expected an inert attribute, found an attribute macro
20 --> $DIR/proc-macro-cannot-be-used.rs:17:28
22 LL | type Alias = extern "C" fn(#[id] u8, #[id] ...);
25 error: expected an inert attribute, found an attribute macro
26 --> $DIR/proc-macro-cannot-be-used.rs:17:38
28 LL | type Alias = extern "C" fn(#[id] u8, #[id] ...);
31 error: expected an inert attribute, found an attribute macro
32 --> $DIR/proc-macro-cannot-be-used.rs:21:9
34 LL | fn free(#[id] arg1: u8) {
37 error: expected an inert attribute, found an attribute macro
38 --> $DIR/proc-macro-cannot-be-used.rs:23:16
40 LL | let lam = |#[id] W(x), #[id] y: usize| ();
43 error: expected an inert attribute, found an attribute macro
44 --> $DIR/proc-macro-cannot-be-used.rs:23:28
46 LL | let lam = |#[id] W(x), #[id] y: usize| ();
49 error: expected an inert attribute, found an attribute macro
50 --> $DIR/proc-macro-cannot-be-used.rs:29:18
52 LL | fn inherent1(#[id] self, #[id] arg1: u8) {}
55 error: expected an inert attribute, found an attribute macro
56 --> $DIR/proc-macro-cannot-be-used.rs:29:30
58 LL | fn inherent1(#[id] self, #[id] arg1: u8) {}
61 error: expected an inert attribute, found an attribute macro
62 --> $DIR/proc-macro-cannot-be-used.rs:32:18
64 LL | fn inherent2(#[id] &self, #[id] arg1: u8) {}
67 error: expected an inert attribute, found an attribute macro
68 --> $DIR/proc-macro-cannot-be-used.rs:32:31
70 LL | fn inherent2(#[id] &self, #[id] arg1: u8) {}
73 error: expected an inert attribute, found an attribute macro
74 --> $DIR/proc-macro-cannot-be-used.rs:35:22
76 LL | fn inherent3<'a>(#[id] &'a mut self, #[id] arg1: u8) {}
79 error: expected an inert attribute, found an attribute macro
80 --> $DIR/proc-macro-cannot-be-used.rs:35:42
82 LL | fn inherent3<'a>(#[id] &'a mut self, #[id] arg1: u8) {}
85 error: expected an inert attribute, found an attribute macro
86 --> $DIR/proc-macro-cannot-be-used.rs:38:22
88 LL | fn inherent4<'a>(#[id] self: Box<Self>, #[id] arg1: u8) {}
91 error: expected an inert attribute, found an attribute macro
92 --> $DIR/proc-macro-cannot-be-used.rs:38:45
94 LL | fn inherent4<'a>(#[id] self: Box<Self>, #[id] arg1: u8) {}
97 error: expected an inert attribute, found an attribute macro
98 --> $DIR/proc-macro-cannot-be-used.rs:41:38
100 LL | fn issue_64682_associated_fn<'a>(#[id] arg1: u8, #[id] arg2: u8) {}
103 error: expected an inert attribute, found an attribute macro
104 --> $DIR/proc-macro-cannot-be-used.rs:41:54
106 LL | fn issue_64682_associated_fn<'a>(#[id] arg1: u8, #[id] arg2: u8) {}
109 error: expected an inert attribute, found an attribute macro
110 --> $DIR/proc-macro-cannot-be-used.rs:47:15
112 LL | fn trait1(#[id] self, #[id] arg1: u8);
115 error: expected an inert attribute, found an attribute macro
116 --> $DIR/proc-macro-cannot-be-used.rs:47:27
118 LL | fn trait1(#[id] self, #[id] arg1: u8);
121 error: expected an inert attribute, found an attribute macro
122 --> $DIR/proc-macro-cannot-be-used.rs:50:15
124 LL | fn trait2(#[id] &self, #[id] arg1: u8);
127 error: expected an inert attribute, found an attribute macro
128 --> $DIR/proc-macro-cannot-be-used.rs:50:28
130 LL | fn trait2(#[id] &self, #[id] arg1: u8);
133 error: expected an inert attribute, found an attribute macro
134 --> $DIR/proc-macro-cannot-be-used.rs:53:19
136 LL | fn trait3<'a>(#[id] &'a mut self, #[id] arg1: u8);
139 error: expected an inert attribute, found an attribute macro
140 --> $DIR/proc-macro-cannot-be-used.rs:53:39
142 LL | fn trait3<'a>(#[id] &'a mut self, #[id] arg1: u8);
145 error: expected an inert attribute, found an attribute macro
146 --> $DIR/proc-macro-cannot-be-used.rs:56:19
148 LL | fn trait4<'a>(#[id] self: Box<Self>, #[id] arg1: u8, #[id] Vec<u8>);
151 error: expected an inert attribute, found an attribute macro
152 --> $DIR/proc-macro-cannot-be-used.rs:56:42
154 LL | fn trait4<'a>(#[id] self: Box<Self>, #[id] arg1: u8, #[id] Vec<u8>);
157 error: expected an inert attribute, found an attribute macro
158 --> $DIR/proc-macro-cannot-be-used.rs:56:58
160 LL | fn trait4<'a>(#[id] self: Box<Self>, #[id] arg1: u8, #[id] Vec<u8>);
163 error: expected an inert attribute, found an attribute macro
164 --> $DIR/proc-macro-cannot-be-used.rs:60:38
166 LL | fn issue_64682_associated_fn<'a>(#[id] arg1: u8, #[id] arg2: u8);
169 error: expected an inert attribute, found an attribute macro
170 --> $DIR/proc-macro-cannot-be-used.rs:60:54
172 LL | fn issue_64682_associated_fn<'a>(#[id] arg1: u8, #[id] arg2: u8);
175 error: aborting due to 29 previous errors