@@ -70,7 +70,7 @@ error: documentation comments cannot be applied to function parameters
7070LL | /// Bar
7171 | ^^^^^^^ doc comments are not allowed here
7272
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
7474 --> $DIR/param-attrs-builtin-attrs.rs:9:9
7575 |
7676LL | #[must_use]
@@ -82,7 +82,7 @@ error: documentation comments cannot be applied to function parameters
8282LL | /// Baz
8383 | ^^^^^^^ doc comments are not allowed here
8484
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
8686 --> $DIR/param-attrs-builtin-attrs.rs:13:9
8787 |
8888LL | #[no_mangle] b: i32,
@@ -100,7 +100,7 @@ error: documentation comments cannot be applied to function parameters
100100LL | /// Bar
101101 | ^^^^^^^ doc comments are not allowed here
102102
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
104104 --> $DIR/param-attrs-builtin-attrs.rs:25:5
105105 |
106106LL | #[must_use]
@@ -112,7 +112,7 @@ error: documentation comments cannot be applied to function parameters
112112LL | /// Baz
113113 | ^^^^^^^ doc comments are not allowed here
114114
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
116116 --> $DIR/param-attrs-builtin-attrs.rs:29:5
117117 |
118118LL | #[no_mangle] b: i32,
@@ -130,7 +130,7 @@ error: documentation comments cannot be applied to function parameters
130130LL | /// Bar
131131 | ^^^^^^^ doc comments are not allowed here
132132
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
134134 --> $DIR/param-attrs-builtin-attrs.rs:40:5
135135 |
136136LL | #[must_use]
@@ -142,7 +142,7 @@ error: documentation comments cannot be applied to function parameters
142142LL | /// Baz
143143 | ^^^^^^^ doc comments are not allowed here
144144
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
146146 --> $DIR/param-attrs-builtin-attrs.rs:44:5
147147 |
148148LL | #[no_mangle] b: i32,
@@ -166,7 +166,7 @@ error: documentation comments cannot be applied to function parameters
166166LL | /// Baz
167167 | ^^^^^^^ doc comments are not allowed here
168168
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
170170 --> $DIR/param-attrs-builtin-attrs.rs:60:9
171171 |
172172LL | #[must_use]
@@ -178,7 +178,7 @@ error: documentation comments cannot be applied to function parameters
178178LL | /// Qux
179179 | ^^^^^^^ doc comments are not allowed here
180180
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
182182 --> $DIR/param-attrs-builtin-attrs.rs:64:9
183183 |
184184LL | #[no_mangle] b: i32,
@@ -196,7 +196,7 @@ error: documentation comments cannot be applied to function parameters
196196LL | /// Baz
197197 | ^^^^^^^ doc comments are not allowed here
198198
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
200200 --> $DIR/param-attrs-builtin-attrs.rs:75:9
201201 |
202202LL | #[must_use]
@@ -208,7 +208,7 @@ error: documentation comments cannot be applied to function parameters
208208LL | /// Qux
209209 | ^^^^^^^ doc comments are not allowed here
210210
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
212212 --> $DIR/param-attrs-builtin-attrs.rs:79:9
213213 |
214214LL | #[no_mangle] b: i32,
@@ -232,7 +232,7 @@ error: documentation comments cannot be applied to function parameters
232232LL | /// Baz
233233 | ^^^^^^^ doc comments are not allowed here
234234
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
236236 --> $DIR/param-attrs-builtin-attrs.rs:96:9
237237 |
238238LL | #[must_use]
@@ -244,7 +244,7 @@ error: documentation comments cannot be applied to function parameters
244244LL | /// Qux
245245 | ^^^^^^^ doc comments are not allowed here
246246
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
248248 --> $DIR/param-attrs-builtin-attrs.rs:100:9
249249 |
250250LL | #[no_mangle] b: i32,
@@ -268,7 +268,7 @@ error: documentation comments cannot be applied to function parameters
268268LL | /// Baz
269269 | ^^^^^^^ doc comments are not allowed here
270270
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
272272 --> $DIR/param-attrs-builtin-attrs.rs:115:9
273273 |
274274LL | #[must_use]
@@ -280,7 +280,7 @@ error: documentation comments cannot be applied to function parameters
280280LL | /// Qux
281281 | ^^^^^^^ doc comments are not allowed here
282282
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
284284 --> $DIR/param-attrs-builtin-attrs.rs:119:9
285285 |
286286LL | #[no_mangle] b: i32,
@@ -298,7 +298,7 @@ error: documentation comments cannot be applied to function parameters
298298LL | /// Baz
299299 | ^^^^^^^ doc comments are not allowed here
300300
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
302302 --> $DIR/param-attrs-builtin-attrs.rs:130:9
303303 |
304304LL | #[must_use]
@@ -310,7 +310,7 @@ error: documentation comments cannot be applied to function parameters
310310LL | /// Qux
311311 | ^^^^^^^ doc comments are not allowed here
312312
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
314314 --> $DIR/param-attrs-builtin-attrs.rs:134:9
315315 |
316316LL | #[no_mangle] b: i32,
@@ -334,7 +334,7 @@ error: documentation comments cannot be applied to function parameters
334334LL | /// Baz
335335 | ^^^^^^^ doc comments are not allowed here
336336
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
338338 --> $DIR/param-attrs-builtin-attrs.rs:150:9
339339 |
340340LL | #[must_use]
@@ -346,7 +346,7 @@ error: documentation comments cannot be applied to function parameters
346346LL | /// Qux
347347 | ^^^^^^^ doc comments are not allowed here
348348
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
350350 --> $DIR/param-attrs-builtin-attrs.rs:154:9
351351 |
352352LL | #[no_mangle] b: i32,
@@ -364,7 +364,7 @@ error: documentation comments cannot be applied to function parameters
364364LL | /// Bar
365365 | ^^^^^^^ doc comments are not allowed here
366366
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
368368 --> $DIR/param-attrs-builtin-attrs.rs:167:9
369369 |
370370LL | #[must_use]
@@ -376,7 +376,7 @@ error: documentation comments cannot be applied to function parameters
376376LL | /// Baz
377377 | ^^^^^^^ doc comments are not allowed here
378378
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
380380 --> $DIR/param-attrs-builtin-attrs.rs:171:9
381381 |
382382LL | #[no_mangle] b: i32
0 commit comments