fork/rust

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

borsAuto merge of #103046 - JanBeh:PR_clarify_cmp_terminology, r=workingjubilee3bcad65fbf6

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