]> git.proxmox.com Git - rustc.git/blob - src/test/ui/rfc-2565-param-attrs/proc-macro-cannot-be-used.stderr
New upstream version 1.53.0+dfsg1
[rustc.git] / src / test / ui / rfc-2565-param-attrs / proc-macro-cannot-be-used.stderr
1 error: expected non-macro attribute, found attribute macro `id`
2 --> $DIR/proc-macro-cannot-be-used.rs:11:23
3 |
4 LL | extern "C" { fn ffi(#[id] arg1: i32, #[id] ...); }
5 | ^^ not a non-macro attribute
6
7 error: expected non-macro attribute, found attribute macro `id`
8 --> $DIR/proc-macro-cannot-be-used.rs:11:40
9 |
10 LL | extern "C" { fn ffi(#[id] arg1: i32, #[id] ...); }
11 | ^^ not a non-macro attribute
12
13 error: expected non-macro attribute, found attribute macro `id`
14 --> $DIR/proc-macro-cannot-be-used.rs:15:40
15 |
16 LL | unsafe extern "C" fn cvar(arg1: i32, #[id] mut args: ...) {}
17 | ^^ not a non-macro attribute
18
19 error: expected non-macro attribute, found attribute macro `id`
20 --> $DIR/proc-macro-cannot-be-used.rs:18:30
21 |
22 LL | type Alias = extern "C" fn(#[id] u8, #[id] ...);
23 | ^^ not a non-macro attribute
24
25 error: expected non-macro attribute, found attribute macro `id`
26 --> $DIR/proc-macro-cannot-be-used.rs:18:40
27 |
28 LL | type Alias = extern "C" fn(#[id] u8, #[id] ...);
29 | ^^ not a non-macro attribute
30
31 error: expected non-macro attribute, found attribute macro `id`
32 --> $DIR/proc-macro-cannot-be-used.rs:22:11
33 |
34 LL | fn free(#[id] arg1: u8) {
35 | ^^ not a non-macro attribute
36
37 error: expected non-macro attribute, found attribute macro `id`
38 --> $DIR/proc-macro-cannot-be-used.rs:24:18
39 |
40 LL | let lam = |#[id] W(x), #[id] y: usize| ();
41 | ^^ not a non-macro attribute
42
43 error: expected non-macro attribute, found attribute macro `id`
44 --> $DIR/proc-macro-cannot-be-used.rs:24:30
45 |
46 LL | let lam = |#[id] W(x), #[id] y: usize| ();
47 | ^^ not a non-macro attribute
48
49 error: expected non-macro attribute, found attribute macro `id`
50 --> $DIR/proc-macro-cannot-be-used.rs:30:20
51 |
52 LL | fn inherent1(#[id] self, #[id] arg1: u8) {}
53 | ^^ not a non-macro attribute
54
55 error: expected non-macro attribute, found attribute macro `id`
56 --> $DIR/proc-macro-cannot-be-used.rs:30:32
57 |
58 LL | fn inherent1(#[id] self, #[id] arg1: u8) {}
59 | ^^ not a non-macro attribute
60
61 error: expected non-macro attribute, found attribute macro `id`
62 --> $DIR/proc-macro-cannot-be-used.rs:33:20
63 |
64 LL | fn inherent2(#[id] &self, #[id] arg1: u8) {}
65 | ^^ not a non-macro attribute
66
67 error: expected non-macro attribute, found attribute macro `id`
68 --> $DIR/proc-macro-cannot-be-used.rs:33:33
69 |
70 LL | fn inherent2(#[id] &self, #[id] arg1: u8) {}
71 | ^^ not a non-macro attribute
72
73 error: expected non-macro attribute, found attribute macro `id`
74 --> $DIR/proc-macro-cannot-be-used.rs:36:24
75 |
76 LL | fn inherent3<'a>(#[id] &'a mut self, #[id] arg1: u8) {}
77 | ^^ not a non-macro attribute
78
79 error: expected non-macro attribute, found attribute macro `id`
80 --> $DIR/proc-macro-cannot-be-used.rs:36:44
81 |
82 LL | fn inherent3<'a>(#[id] &'a mut self, #[id] arg1: u8) {}
83 | ^^ not a non-macro attribute
84
85 error: expected non-macro attribute, found attribute macro `id`
86 --> $DIR/proc-macro-cannot-be-used.rs:39:24
87 |
88 LL | fn inherent4<'a>(#[id] self: Box<Self>, #[id] arg1: u8) {}
89 | ^^ not a non-macro attribute
90
91 error: expected non-macro attribute, found attribute macro `id`
92 --> $DIR/proc-macro-cannot-be-used.rs:39:47
93 |
94 LL | fn inherent4<'a>(#[id] self: Box<Self>, #[id] arg1: u8) {}
95 | ^^ not a non-macro attribute
96
97 error: expected non-macro attribute, found attribute macro `id`
98 --> $DIR/proc-macro-cannot-be-used.rs:42:40
99 |
100 LL | fn issue_64682_associated_fn<'a>(#[id] arg1: u8, #[id] arg2: u8) {}
101 | ^^ not a non-macro attribute
102
103 error: expected non-macro attribute, found attribute macro `id`
104 --> $DIR/proc-macro-cannot-be-used.rs:42:56
105 |
106 LL | fn issue_64682_associated_fn<'a>(#[id] arg1: u8, #[id] arg2: u8) {}
107 | ^^ not a non-macro attribute
108
109 error: expected non-macro attribute, found attribute macro `id`
110 --> $DIR/proc-macro-cannot-be-used.rs:48:17
111 |
112 LL | fn trait1(#[id] self, #[id] arg1: u8);
113 | ^^ not a non-macro attribute
114
115 error: expected non-macro attribute, found attribute macro `id`
116 --> $DIR/proc-macro-cannot-be-used.rs:48:29
117 |
118 LL | fn trait1(#[id] self, #[id] arg1: u8);
119 | ^^ not a non-macro attribute
120
121 error: expected non-macro attribute, found attribute macro `id`
122 --> $DIR/proc-macro-cannot-be-used.rs:51:17
123 |
124 LL | fn trait2(#[id] &self, #[id] arg1: u8);
125 | ^^ not a non-macro attribute
126
127 error: expected non-macro attribute, found attribute macro `id`
128 --> $DIR/proc-macro-cannot-be-used.rs:51:30
129 |
130 LL | fn trait2(#[id] &self, #[id] arg1: u8);
131 | ^^ not a non-macro attribute
132
133 error: expected non-macro attribute, found attribute macro `id`
134 --> $DIR/proc-macro-cannot-be-used.rs:54:21
135 |
136 LL | fn trait3<'a>(#[id] &'a mut self, #[id] arg1: u8);
137 | ^^ not a non-macro attribute
138
139 error: expected non-macro attribute, found attribute macro `id`
140 --> $DIR/proc-macro-cannot-be-used.rs:54:41
141 |
142 LL | fn trait3<'a>(#[id] &'a mut self, #[id] arg1: u8);
143 | ^^ not a non-macro attribute
144
145 error: expected non-macro attribute, found attribute macro `id`
146 --> $DIR/proc-macro-cannot-be-used.rs:57:21
147 |
148 LL | fn trait4<'a>(#[id] self: Box<Self>, #[id] arg1: u8, #[id] Vec<u8>);
149 | ^^ not a non-macro attribute
150
151 error: expected non-macro attribute, found attribute macro `id`
152 --> $DIR/proc-macro-cannot-be-used.rs:57:44
153 |
154 LL | fn trait4<'a>(#[id] self: Box<Self>, #[id] arg1: u8, #[id] Vec<u8>);
155 | ^^ not a non-macro attribute
156
157 error: expected non-macro attribute, found attribute macro `id`
158 --> $DIR/proc-macro-cannot-be-used.rs:57:60
159 |
160 LL | fn trait4<'a>(#[id] self: Box<Self>, #[id] arg1: u8, #[id] Vec<u8>);
161 | ^^ not a non-macro attribute
162
163 error: expected non-macro attribute, found attribute macro `id`
164 --> $DIR/proc-macro-cannot-be-used.rs:61:40
165 |
166 LL | fn issue_64682_associated_fn<'a>(#[id] arg1: u8, #[id] arg2: u8);
167 | ^^ not a non-macro attribute
168
169 error: expected non-macro attribute, found attribute macro `id`
170 --> $DIR/proc-macro-cannot-be-used.rs:61:56
171 |
172 LL | fn issue_64682_associated_fn<'a>(#[id] arg1: u8, #[id] arg2: u8);
173 | ^^ not a non-macro attribute
174
175 error: aborting due to 29 previous errors
176