fork/rust

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

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

master
12.9 KiB386 linesraw
1error: expected non-macro attribute, found attribute macro `test`
2  --> $DIR/param-attrs-builtin-attrs.rs:5:11
3   |
4LL |         #[test] a: i32,
5   |           ^^^^ not a non-macro attribute
6
7error: expected non-macro attribute, found attribute macro `test`
8  --> $DIR/param-attrs-builtin-attrs.rs:21:7
9   |
10LL |     #[test] a: u32,
11   |       ^^^^ not a non-macro attribute
12
13error: expected non-macro attribute, found attribute macro `test`
14  --> $DIR/param-attrs-builtin-attrs.rs:36:7
15   |
16LL |     #[test] a: u32,
17   |       ^^^^ not a non-macro attribute
18
19error: expected non-macro attribute, found attribute macro `test`
20  --> $DIR/param-attrs-builtin-attrs.rs:56:11
21   |
22LL |         #[test] a: i32,
23   |           ^^^^ not a non-macro attribute
24
25error: expected non-macro attribute, found attribute macro `test`
26  --> $DIR/param-attrs-builtin-attrs.rs:71:11
27   |
28LL |         #[test] a: i32,
29   |           ^^^^ not a non-macro attribute
30
31error: expected non-macro attribute, found attribute macro `test`
32  --> $DIR/param-attrs-builtin-attrs.rs:92:11
33   |
34LL |         #[test] a: i32,
35   |           ^^^^ not a non-macro attribute
36
37error: expected non-macro attribute, found attribute macro `test`
38  --> $DIR/param-attrs-builtin-attrs.rs:111:11
39   |
40LL |         #[test] a: i32,
41   |           ^^^^ not a non-macro attribute
42
43error: expected non-macro attribute, found attribute macro `test`
44  --> $DIR/param-attrs-builtin-attrs.rs:126:11
45   |
46LL |         #[test] a: i32,
47   |           ^^^^ not a non-macro attribute
48
49error: expected non-macro attribute, found attribute macro `test`
50  --> $DIR/param-attrs-builtin-attrs.rs:146:11
51   |
52LL |         #[test] a: i32,
53   |           ^^^^ not a non-macro attribute
54
55error: expected non-macro attribute, found attribute macro `test`
56  --> $DIR/param-attrs-builtin-attrs.rs:163:11
57   |
58LL |         #[test] a: u32,
59   |           ^^^^ not a non-macro attribute
60
61error: documentation comments cannot be applied to function parameters
62  --> $DIR/param-attrs-builtin-attrs.rs:3:9
63   |
64LL |         /// Foo
65   |         ^^^^^^^ doc comments are not allowed here
66
67error: documentation comments cannot be applied to function parameters
68  --> $DIR/param-attrs-builtin-attrs.rs:7:9
69   |
70LL |         /// Bar
71   |         ^^^^^^^ doc comments are not allowed here
72
73error: allow, cfg, cfg_attr, deny, expect, forbid, and warn are the only allowed built-in attributes in function parameters
74  --> $DIR/param-attrs-builtin-attrs.rs:9:9
75   |
76LL |         #[must_use]
77   |         ^^^^^^^^^^^
78
79error: documentation comments cannot be applied to function parameters
80  --> $DIR/param-attrs-builtin-attrs.rs:11:9
81   |
82LL |         /// Baz
83   |         ^^^^^^^ doc comments are not allowed here
84
85error: allow, cfg, cfg_attr, deny, expect, forbid, and warn are the only allowed built-in attributes in function parameters
86  --> $DIR/param-attrs-builtin-attrs.rs:13:9
87   |
88LL |         #[no_mangle] b: i32,
89   |         ^^^^^^^^^^^^
90
91error: documentation comments cannot be applied to function parameters
92  --> $DIR/param-attrs-builtin-attrs.rs:19:5
93   |
94LL |     /// Foo
95   |     ^^^^^^^ doc comments are not allowed here
96
97error: documentation comments cannot be applied to function parameters
98  --> $DIR/param-attrs-builtin-attrs.rs:23:5
99   |
100LL |     /// Bar
101   |     ^^^^^^^ doc comments are not allowed here
102
103error: allow, cfg, cfg_attr, deny, expect, forbid, and warn are the only allowed built-in attributes in function parameters
104  --> $DIR/param-attrs-builtin-attrs.rs:25:5
105   |
106LL |     #[must_use]
107   |     ^^^^^^^^^^^
108
109error: documentation comments cannot be applied to function parameters
110  --> $DIR/param-attrs-builtin-attrs.rs:27:5
111   |
112LL |     /// Baz
113   |     ^^^^^^^ doc comments are not allowed here
114
115error: allow, cfg, cfg_attr, deny, expect, forbid, and warn are the only allowed built-in attributes in function parameters
116  --> $DIR/param-attrs-builtin-attrs.rs:29:5
117   |
118LL |     #[no_mangle] b: i32,
119   |     ^^^^^^^^^^^^
120
121error: documentation comments cannot be applied to function parameters
122  --> $DIR/param-attrs-builtin-attrs.rs:34:5
123   |
124LL |     /// Foo
125   |     ^^^^^^^ doc comments are not allowed here
126
127error: documentation comments cannot be applied to function parameters
128  --> $DIR/param-attrs-builtin-attrs.rs:38:5
129   |
130LL |     /// Bar
131   |     ^^^^^^^ doc comments are not allowed here
132
133error: allow, cfg, cfg_attr, deny, expect, forbid, and warn are the only allowed built-in attributes in function parameters
134  --> $DIR/param-attrs-builtin-attrs.rs:40:5
135   |
136LL |     #[must_use]
137   |     ^^^^^^^^^^^
138
139error: documentation comments cannot be applied to function parameters
140  --> $DIR/param-attrs-builtin-attrs.rs:42:5
141   |
142LL |     /// Baz
143   |     ^^^^^^^ doc comments are not allowed here
144
145error: allow, cfg, cfg_attr, deny, expect, forbid, and warn are the only allowed built-in attributes in function parameters
146  --> $DIR/param-attrs-builtin-attrs.rs:44:5
147   |
148LL |     #[no_mangle] b: i32,
149   |     ^^^^^^^^^^^^
150
151error: documentation comments cannot be applied to function parameters
152  --> $DIR/param-attrs-builtin-attrs.rs:51:9
153   |
154LL |         /// Foo
155   |         ^^^^^^^ doc comments are not allowed here
156
157error: documentation comments cannot be applied to function parameters
158  --> $DIR/param-attrs-builtin-attrs.rs:54:9
159   |
160LL |         /// Bar
161   |         ^^^^^^^ doc comments are not allowed here
162
163error: documentation comments cannot be applied to function parameters
164  --> $DIR/param-attrs-builtin-attrs.rs:58:9
165   |
166LL |         /// Baz
167   |         ^^^^^^^ doc comments are not allowed here
168
169error: allow, cfg, cfg_attr, deny, expect, forbid, and warn are the only allowed built-in attributes in function parameters
170  --> $DIR/param-attrs-builtin-attrs.rs:60:9
171   |
172LL |         #[must_use]
173   |         ^^^^^^^^^^^
174
175error: documentation comments cannot be applied to function parameters
176  --> $DIR/param-attrs-builtin-attrs.rs:62:9
177   |
178LL |         /// Qux
179   |         ^^^^^^^ doc comments are not allowed here
180
181error: allow, cfg, cfg_attr, deny, expect, forbid, and warn are the only allowed built-in attributes in function parameters
182  --> $DIR/param-attrs-builtin-attrs.rs:64:9
183   |
184LL |         #[no_mangle] b: i32,
185   |         ^^^^^^^^^^^^
186
187error: documentation comments cannot be applied to function parameters
188  --> $DIR/param-attrs-builtin-attrs.rs:69:9
189   |
190LL |         /// Foo
191   |         ^^^^^^^ doc comments are not allowed here
192
193error: documentation comments cannot be applied to function parameters
194  --> $DIR/param-attrs-builtin-attrs.rs:73:9
195   |
196LL |         /// Baz
197   |         ^^^^^^^ doc comments are not allowed here
198
199error: allow, cfg, cfg_attr, deny, expect, forbid, and warn are the only allowed built-in attributes in function parameters
200  --> $DIR/param-attrs-builtin-attrs.rs:75:9
201   |
202LL |         #[must_use]
203   |         ^^^^^^^^^^^
204
205error: documentation comments cannot be applied to function parameters
206  --> $DIR/param-attrs-builtin-attrs.rs:77:9
207   |
208LL |         /// Qux
209   |         ^^^^^^^ doc comments are not allowed here
210
211error: allow, cfg, cfg_attr, deny, expect, forbid, and warn are the only allowed built-in attributes in function parameters
212  --> $DIR/param-attrs-builtin-attrs.rs:79:9
213   |
214LL |         #[no_mangle] b: i32,
215   |         ^^^^^^^^^^^^
216
217error: documentation comments cannot be applied to function parameters
218  --> $DIR/param-attrs-builtin-attrs.rs:87:9
219   |
220LL |         /// Foo
221   |         ^^^^^^^ doc comments are not allowed here
222
223error: documentation comments cannot be applied to function parameters
224  --> $DIR/param-attrs-builtin-attrs.rs:90:9
225   |
226LL |         /// Bar
227   |         ^^^^^^^ doc comments are not allowed here
228
229error: documentation comments cannot be applied to function parameters
230  --> $DIR/param-attrs-builtin-attrs.rs:94:9
231   |
232LL |         /// Baz
233   |         ^^^^^^^ doc comments are not allowed here
234
235error: allow, cfg, cfg_attr, deny, expect, forbid, and warn are the only allowed built-in attributes in function parameters
236  --> $DIR/param-attrs-builtin-attrs.rs:96:9
237   |
238LL |         #[must_use]
239   |         ^^^^^^^^^^^
240
241error: documentation comments cannot be applied to function parameters
242  --> $DIR/param-attrs-builtin-attrs.rs:98:9
243   |
244LL |         /// Qux
245   |         ^^^^^^^ doc comments are not allowed here
246
247error: allow, cfg, cfg_attr, deny, expect, forbid, and warn are the only allowed built-in attributes in function parameters
248  --> $DIR/param-attrs-builtin-attrs.rs:100:9
249   |
250LL |         #[no_mangle] b: i32,
251   |         ^^^^^^^^^^^^
252
253error: documentation comments cannot be applied to function parameters
254  --> $DIR/param-attrs-builtin-attrs.rs:106:9
255   |
256LL |         /// Foo
257   |         ^^^^^^^ doc comments are not allowed here
258
259error: documentation comments cannot be applied to function parameters
260  --> $DIR/param-attrs-builtin-attrs.rs:109:9
261   |
262LL |         /// Bar
263   |         ^^^^^^^ doc comments are not allowed here
264
265error: documentation comments cannot be applied to function parameters
266  --> $DIR/param-attrs-builtin-attrs.rs:113:9
267   |
268LL |         /// Baz
269   |         ^^^^^^^ doc comments are not allowed here
270
271error: allow, cfg, cfg_attr, deny, expect, forbid, and warn are the only allowed built-in attributes in function parameters
272  --> $DIR/param-attrs-builtin-attrs.rs:115:9
273   |
274LL |         #[must_use]
275   |         ^^^^^^^^^^^
276
277error: documentation comments cannot be applied to function parameters
278  --> $DIR/param-attrs-builtin-attrs.rs:117:9
279   |
280LL |         /// Qux
281   |         ^^^^^^^ doc comments are not allowed here
282
283error: allow, cfg, cfg_attr, deny, expect, forbid, and warn are the only allowed built-in attributes in function parameters
284  --> $DIR/param-attrs-builtin-attrs.rs:119:9
285   |
286LL |         #[no_mangle] b: i32,
287   |         ^^^^^^^^^^^^
288
289error: documentation comments cannot be applied to function parameters
290  --> $DIR/param-attrs-builtin-attrs.rs:124:9
291   |
292LL |         /// Foo
293   |         ^^^^^^^ doc comments are not allowed here
294
295error: documentation comments cannot be applied to function parameters
296  --> $DIR/param-attrs-builtin-attrs.rs:128:9
297   |
298LL |         /// Baz
299   |         ^^^^^^^ doc comments are not allowed here
300
301error: allow, cfg, cfg_attr, deny, expect, forbid, and warn are the only allowed built-in attributes in function parameters
302  --> $DIR/param-attrs-builtin-attrs.rs:130:9
303   |
304LL |         #[must_use]
305   |         ^^^^^^^^^^^
306
307error: documentation comments cannot be applied to function parameters
308  --> $DIR/param-attrs-builtin-attrs.rs:132:9
309   |
310LL |         /// Qux
311   |         ^^^^^^^ doc comments are not allowed here
312
313error: allow, cfg, cfg_attr, deny, expect, forbid, and warn are the only allowed built-in attributes in function parameters
314  --> $DIR/param-attrs-builtin-attrs.rs:134:9
315   |
316LL |         #[no_mangle] b: i32,
317   |         ^^^^^^^^^^^^
318
319error: documentation comments cannot be applied to function parameters
320  --> $DIR/param-attrs-builtin-attrs.rs:141:9
321   |
322LL |         /// Foo
323   |         ^^^^^^^ doc comments are not allowed here
324
325error: documentation comments cannot be applied to function parameters
326  --> $DIR/param-attrs-builtin-attrs.rs:144:9
327   |
328LL |         /// Bar
329   |         ^^^^^^^ doc comments are not allowed here
330
331error: documentation comments cannot be applied to function parameters
332  --> $DIR/param-attrs-builtin-attrs.rs:148:9
333   |
334LL |         /// Baz
335   |         ^^^^^^^ doc comments are not allowed here
336
337error: allow, cfg, cfg_attr, deny, expect, forbid, and warn are the only allowed built-in attributes in function parameters
338  --> $DIR/param-attrs-builtin-attrs.rs:150:9
339   |
340LL |         #[must_use]
341   |         ^^^^^^^^^^^
342
343error: documentation comments cannot be applied to function parameters
344  --> $DIR/param-attrs-builtin-attrs.rs:152:9
345   |
346LL |         /// Qux
347   |         ^^^^^^^ doc comments are not allowed here
348
349error: allow, cfg, cfg_attr, deny, expect, forbid, and warn are the only allowed built-in attributes in function parameters
350  --> $DIR/param-attrs-builtin-attrs.rs:154:9
351   |
352LL |         #[no_mangle] b: i32,
353   |         ^^^^^^^^^^^^
354
355error: documentation comments cannot be applied to function parameters
356  --> $DIR/param-attrs-builtin-attrs.rs:161:9
357   |
358LL |         /// Foo
359   |         ^^^^^^^ doc comments are not allowed here
360
361error: documentation comments cannot be applied to function parameters
362  --> $DIR/param-attrs-builtin-attrs.rs:165:9
363   |
364LL |         /// Bar
365   |         ^^^^^^^ doc comments are not allowed here
366
367error: allow, cfg, cfg_attr, deny, expect, forbid, and warn are the only allowed built-in attributes in function parameters
368  --> $DIR/param-attrs-builtin-attrs.rs:167:9
369   |
370LL |         #[must_use]
371   |         ^^^^^^^^^^^
372
373error: documentation comments cannot be applied to function parameters
374  --> $DIR/param-attrs-builtin-attrs.rs:169:9
375   |
376LL |         /// Baz
377   |         ^^^^^^^ doc comments are not allowed here
378
379error: allow, cfg, cfg_attr, deny, expect, forbid, and warn are the only allowed built-in attributes in function parameters
380  --> $DIR/param-attrs-builtin-attrs.rs:171:9
381   |
382LL |         #[no_mangle] b: i32
383   |         ^^^^^^^^^^^^
384
385error: aborting due to 64 previous errors
386