fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #71868 - Mark-Simulacrum:stable-1.43.1, r=pietroalbini8d69840ab92

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