@@ -70,7 +70,7 @@ error: documentation comments cannot be applied to function parameters
70
70
LL | /// Bar
71
71
| ^^^^^^^ doc comments are not allowed here
72
72
73
- error: allow, cfg, cfg_attr, deny, forbid, and warn are the only allowed built-in attributes in function parameters
73
+ error: allow, cfg, cfg_attr, deny, expect, forbid, and warn are the only allowed built-in attributes in function parameters
74
74
--> $DIR/param-attrs-builtin-attrs.rs:9:9
75
75
|
76
76
LL | #[must_use]
@@ -82,7 +82,7 @@ error: documentation comments cannot be applied to function parameters
82
82
LL | /// Baz
83
83
| ^^^^^^^ doc comments are not allowed here
84
84
85
- error: allow, cfg, cfg_attr, deny, forbid, and warn are the only allowed built-in attributes in function parameters
85
+ error: allow, cfg, cfg_attr, deny, expect, forbid, and warn are the only allowed built-in attributes in function parameters
86
86
--> $DIR/param-attrs-builtin-attrs.rs:13:9
87
87
|
88
88
LL | #[no_mangle] b: i32,
@@ -100,7 +100,7 @@ error: documentation comments cannot be applied to function parameters
100
100
LL | /// Bar
101
101
| ^^^^^^^ doc comments are not allowed here
102
102
103
- error: allow, cfg, cfg_attr, deny, forbid, and warn are the only allowed built-in attributes in function parameters
103
+ error: allow, cfg, cfg_attr, deny, expect, forbid, and warn are the only allowed built-in attributes in function parameters
104
104
--> $DIR/param-attrs-builtin-attrs.rs:25:5
105
105
|
106
106
LL | #[must_use]
@@ -112,7 +112,7 @@ error: documentation comments cannot be applied to function parameters
112
112
LL | /// Baz
113
113
| ^^^^^^^ doc comments are not allowed here
114
114
115
- error: allow, cfg, cfg_attr, deny, forbid, and warn are the only allowed built-in attributes in function parameters
115
+ error: allow, cfg, cfg_attr, deny, expect, forbid, and warn are the only allowed built-in attributes in function parameters
116
116
--> $DIR/param-attrs-builtin-attrs.rs:29:5
117
117
|
118
118
LL | #[no_mangle] b: i32,
@@ -130,7 +130,7 @@ error: documentation comments cannot be applied to function parameters
130
130
LL | /// Bar
131
131
| ^^^^^^^ doc comments are not allowed here
132
132
133
- error: allow, cfg, cfg_attr, deny, forbid, and warn are the only allowed built-in attributes in function parameters
133
+ error: allow, cfg, cfg_attr, deny, expect, forbid, and warn are the only allowed built-in attributes in function parameters
134
134
--> $DIR/param-attrs-builtin-attrs.rs:40:5
135
135
|
136
136
LL | #[must_use]
@@ -142,7 +142,7 @@ error: documentation comments cannot be applied to function parameters
142
142
LL | /// Baz
143
143
| ^^^^^^^ doc comments are not allowed here
144
144
145
- error: allow, cfg, cfg_attr, deny, forbid, and warn are the only allowed built-in attributes in function parameters
145
+ error: allow, cfg, cfg_attr, deny, expect, forbid, and warn are the only allowed built-in attributes in function parameters
146
146
--> $DIR/param-attrs-builtin-attrs.rs:44:5
147
147
|
148
148
LL | #[no_mangle] b: i32,
@@ -166,7 +166,7 @@ error: documentation comments cannot be applied to function parameters
166
166
LL | /// Baz
167
167
| ^^^^^^^ doc comments are not allowed here
168
168
169
- error: allow, cfg, cfg_attr, deny, forbid, and warn are the only allowed built-in attributes in function parameters
169
+ error: allow, cfg, cfg_attr, deny, expect, forbid, and warn are the only allowed built-in attributes in function parameters
170
170
--> $DIR/param-attrs-builtin-attrs.rs:60:9
171
171
|
172
172
LL | #[must_use]
@@ -178,7 +178,7 @@ error: documentation comments cannot be applied to function parameters
178
178
LL | /// Qux
179
179
| ^^^^^^^ doc comments are not allowed here
180
180
181
- error: allow, cfg, cfg_attr, deny, forbid, and warn are the only allowed built-in attributes in function parameters
181
+ error: allow, cfg, cfg_attr, deny, expect, forbid, and warn are the only allowed built-in attributes in function parameters
182
182
--> $DIR/param-attrs-builtin-attrs.rs:64:9
183
183
|
184
184
LL | #[no_mangle] b: i32,
@@ -196,7 +196,7 @@ error: documentation comments cannot be applied to function parameters
196
196
LL | /// Baz
197
197
| ^^^^^^^ doc comments are not allowed here
198
198
199
- error: allow, cfg, cfg_attr, deny, forbid, and warn are the only allowed built-in attributes in function parameters
199
+ error: allow, cfg, cfg_attr, deny, expect, forbid, and warn are the only allowed built-in attributes in function parameters
200
200
--> $DIR/param-attrs-builtin-attrs.rs:75:9
201
201
|
202
202
LL | #[must_use]
@@ -208,7 +208,7 @@ error: documentation comments cannot be applied to function parameters
208
208
LL | /// Qux
209
209
| ^^^^^^^ doc comments are not allowed here
210
210
211
- error: allow, cfg, cfg_attr, deny, forbid, and warn are the only allowed built-in attributes in function parameters
211
+ error: allow, cfg, cfg_attr, deny, expect, forbid, and warn are the only allowed built-in attributes in function parameters
212
212
--> $DIR/param-attrs-builtin-attrs.rs:79:9
213
213
|
214
214
LL | #[no_mangle] b: i32,
@@ -232,7 +232,7 @@ error: documentation comments cannot be applied to function parameters
232
232
LL | /// Baz
233
233
| ^^^^^^^ doc comments are not allowed here
234
234
235
- error: allow, cfg, cfg_attr, deny, forbid, and warn are the only allowed built-in attributes in function parameters
235
+ error: allow, cfg, cfg_attr, deny, expect, forbid, and warn are the only allowed built-in attributes in function parameters
236
236
--> $DIR/param-attrs-builtin-attrs.rs:96:9
237
237
|
238
238
LL | #[must_use]
@@ -244,7 +244,7 @@ error: documentation comments cannot be applied to function parameters
244
244
LL | /// Qux
245
245
| ^^^^^^^ doc comments are not allowed here
246
246
247
- error: allow, cfg, cfg_attr, deny, forbid, and warn are the only allowed built-in attributes in function parameters
247
+ error: allow, cfg, cfg_attr, deny, expect, forbid, and warn are the only allowed built-in attributes in function parameters
248
248
--> $DIR/param-attrs-builtin-attrs.rs:100:9
249
249
|
250
250
LL | #[no_mangle] b: i32,
@@ -268,7 +268,7 @@ error: documentation comments cannot be applied to function parameters
268
268
LL | /// Baz
269
269
| ^^^^^^^ doc comments are not allowed here
270
270
271
- error: allow, cfg, cfg_attr, deny, forbid, and warn are the only allowed built-in attributes in function parameters
271
+ error: allow, cfg, cfg_attr, deny, expect, forbid, and warn are the only allowed built-in attributes in function parameters
272
272
--> $DIR/param-attrs-builtin-attrs.rs:115:9
273
273
|
274
274
LL | #[must_use]
@@ -280,7 +280,7 @@ error: documentation comments cannot be applied to function parameters
280
280
LL | /// Qux
281
281
| ^^^^^^^ doc comments are not allowed here
282
282
283
- error: allow, cfg, cfg_attr, deny, forbid, and warn are the only allowed built-in attributes in function parameters
283
+ error: allow, cfg, cfg_attr, deny, expect, forbid, and warn are the only allowed built-in attributes in function parameters
284
284
--> $DIR/param-attrs-builtin-attrs.rs:119:9
285
285
|
286
286
LL | #[no_mangle] b: i32,
@@ -298,7 +298,7 @@ error: documentation comments cannot be applied to function parameters
298
298
LL | /// Baz
299
299
| ^^^^^^^ doc comments are not allowed here
300
300
301
- error: allow, cfg, cfg_attr, deny, forbid, and warn are the only allowed built-in attributes in function parameters
301
+ error: allow, cfg, cfg_attr, deny, expect, forbid, and warn are the only allowed built-in attributes in function parameters
302
302
--> $DIR/param-attrs-builtin-attrs.rs:130:9
303
303
|
304
304
LL | #[must_use]
@@ -310,7 +310,7 @@ error: documentation comments cannot be applied to function parameters
310
310
LL | /// Qux
311
311
| ^^^^^^^ doc comments are not allowed here
312
312
313
- error: allow, cfg, cfg_attr, deny, forbid, and warn are the only allowed built-in attributes in function parameters
313
+ error: allow, cfg, cfg_attr, deny, expect, forbid, and warn are the only allowed built-in attributes in function parameters
314
314
--> $DIR/param-attrs-builtin-attrs.rs:134:9
315
315
|
316
316
LL | #[no_mangle] b: i32,
@@ -334,7 +334,7 @@ error: documentation comments cannot be applied to function parameters
334
334
LL | /// Baz
335
335
| ^^^^^^^ doc comments are not allowed here
336
336
337
- error: allow, cfg, cfg_attr, deny, forbid, and warn are the only allowed built-in attributes in function parameters
337
+ error: allow, cfg, cfg_attr, deny, expect, forbid, and warn are the only allowed built-in attributes in function parameters
338
338
--> $DIR/param-attrs-builtin-attrs.rs:150:9
339
339
|
340
340
LL | #[must_use]
@@ -346,7 +346,7 @@ error: documentation comments cannot be applied to function parameters
346
346
LL | /// Qux
347
347
| ^^^^^^^ doc comments are not allowed here
348
348
349
- error: allow, cfg, cfg_attr, deny, forbid, and warn are the only allowed built-in attributes in function parameters
349
+ error: allow, cfg, cfg_attr, deny, expect, forbid, and warn are the only allowed built-in attributes in function parameters
350
350
--> $DIR/param-attrs-builtin-attrs.rs:154:9
351
351
|
352
352
LL | #[no_mangle] b: i32,
@@ -364,7 +364,7 @@ error: documentation comments cannot be applied to function parameters
364
364
LL | /// Bar
365
365
| ^^^^^^^ doc comments are not allowed here
366
366
367
- error: allow, cfg, cfg_attr, deny, forbid, and warn are the only allowed built-in attributes in function parameters
367
+ error: allow, cfg, cfg_attr, deny, expect, forbid, and warn are the only allowed built-in attributes in function parameters
368
368
--> $DIR/param-attrs-builtin-attrs.rs:167:9
369
369
|
370
370
LL | #[must_use]
@@ -376,7 +376,7 @@ error: documentation comments cannot be applied to function parameters
376
376
LL | /// Baz
377
377
| ^^^^^^^ doc comments are not allowed here
378
378
379
- error: allow, cfg, cfg_attr, deny, forbid, and warn are the only allowed built-in attributes in function parameters
379
+ error: allow, cfg, cfg_attr, deny, expect, forbid, and warn are the only allowed built-in attributes in function parameters
380
380
--> $DIR/param-attrs-builtin-attrs.rs:171:9
381
381
|
382
382
LL | #[no_mangle] b: i32
0 commit comments