]> git.lizzy.rs Git - rust.git/blob - src/test/ui/feature-gates/issue-43106-gating-of-builtin-attrs.stderr
use jemallocator in rustc/rustdoc
[rust.git] / src / test / ui / feature-gates / issue-43106-gating-of-builtin-attrs.stderr
1 warning: unknown lint: `x5400`
2   --> $DIR/issue-43106-gating-of-builtin-attrs.rs:53:9
3    |
4 LL | #![warn(x5400)]
5    |         ^^^^^
6    |
7 note: the lint level is defined here
8   --> $DIR/issue-43106-gating-of-builtin-attrs.rs:40:28
9    |
10 LL | #![warn(unused_attributes, unknown_lints)]
11    |                            ^^^^^^^^^^^^^
12
13 warning: unknown lint: `x5300`
14   --> $DIR/issue-43106-gating-of-builtin-attrs.rs:54:10
15    |
16 LL | #![allow(x5300)]
17    |          ^^^^^
18
19 warning: unknown lint: `x5200`
20   --> $DIR/issue-43106-gating-of-builtin-attrs.rs:55:11
21    |
22 LL | #![forbid(x5200)]
23    |           ^^^^^
24
25 warning: unknown lint: `x5100`
26   --> $DIR/issue-43106-gating-of-builtin-attrs.rs:56:9
27    |
28 LL | #![deny(x5100)]
29    |         ^^^^^
30
31 warning: unknown lint: `x5400`
32   --> $DIR/issue-43106-gating-of-builtin-attrs.rs:111:8
33    |
34 LL | #[warn(x5400)]
35    |        ^^^^^
36
37 warning: unknown lint: `x5400`
38   --> $DIR/issue-43106-gating-of-builtin-attrs.rs:114:25
39    |
40 LL |     mod inner { #![warn(x5400)] }
41    |                         ^^^^^
42
43 warning: unknown lint: `x5400`
44   --> $DIR/issue-43106-gating-of-builtin-attrs.rs:117:12
45    |
46 LL |     #[warn(x5400)] fn f() { }
47    |            ^^^^^
48
49 warning: unknown lint: `x5400`
50   --> $DIR/issue-43106-gating-of-builtin-attrs.rs:120:12
51    |
52 LL |     #[warn(x5400)] struct S;
53    |            ^^^^^
54
55 warning: unknown lint: `x5400`
56   --> $DIR/issue-43106-gating-of-builtin-attrs.rs:123:12
57    |
58 LL |     #[warn(x5400)] type T = S;
59    |            ^^^^^
60
61 warning: unknown lint: `x5400`
62   --> $DIR/issue-43106-gating-of-builtin-attrs.rs:126:12
63    |
64 LL |     #[warn(x5400)] impl S { }
65    |            ^^^^^
66
67 warning: unknown lint: `x5300`
68   --> $DIR/issue-43106-gating-of-builtin-attrs.rs:130:9
69    |
70 LL | #[allow(x5300)]
71    |         ^^^^^
72
73 warning: unknown lint: `x5300`
74   --> $DIR/issue-43106-gating-of-builtin-attrs.rs:133:26
75    |
76 LL |     mod inner { #![allow(x5300)] }
77    |                          ^^^^^
78
79 warning: unknown lint: `x5300`
80   --> $DIR/issue-43106-gating-of-builtin-attrs.rs:136:13
81    |
82 LL |     #[allow(x5300)] fn f() { }
83    |             ^^^^^
84
85 warning: unknown lint: `x5300`
86   --> $DIR/issue-43106-gating-of-builtin-attrs.rs:139:13
87    |
88 LL |     #[allow(x5300)] struct S;
89    |             ^^^^^
90
91 warning: unknown lint: `x5300`
92   --> $DIR/issue-43106-gating-of-builtin-attrs.rs:142:13
93    |
94 LL |     #[allow(x5300)] type T = S;
95    |             ^^^^^
96
97 warning: unknown lint: `x5300`
98   --> $DIR/issue-43106-gating-of-builtin-attrs.rs:145:13
99    |
100 LL |     #[allow(x5300)] impl S { }
101    |             ^^^^^
102
103 warning: unknown lint: `x5200`
104   --> $DIR/issue-43106-gating-of-builtin-attrs.rs:149:10
105    |
106 LL | #[forbid(x5200)]
107    |          ^^^^^
108
109 warning: unknown lint: `x5200`
110   --> $DIR/issue-43106-gating-of-builtin-attrs.rs:152:27
111    |
112 LL |     mod inner { #![forbid(x5200)] }
113    |                           ^^^^^
114
115 warning: unknown lint: `x5200`
116   --> $DIR/issue-43106-gating-of-builtin-attrs.rs:155:14
117    |
118 LL |     #[forbid(x5200)] fn f() { }
119    |              ^^^^^
120
121 warning: unknown lint: `x5200`
122   --> $DIR/issue-43106-gating-of-builtin-attrs.rs:158:14
123    |
124 LL |     #[forbid(x5200)] struct S;
125    |              ^^^^^
126
127 warning: unknown lint: `x5200`
128   --> $DIR/issue-43106-gating-of-builtin-attrs.rs:161:14
129    |
130 LL |     #[forbid(x5200)] type T = S;
131    |              ^^^^^
132
133 warning: unknown lint: `x5200`
134   --> $DIR/issue-43106-gating-of-builtin-attrs.rs:164:14
135    |
136 LL |     #[forbid(x5200)] impl S { }
137    |              ^^^^^
138
139 warning: unknown lint: `x5100`
140   --> $DIR/issue-43106-gating-of-builtin-attrs.rs:168:8
141    |
142 LL | #[deny(x5100)]
143    |        ^^^^^
144
145 warning: unknown lint: `x5100`
146   --> $DIR/issue-43106-gating-of-builtin-attrs.rs:171:25
147    |
148 LL |     mod inner { #![deny(x5100)] }
149    |                         ^^^^^
150
151 warning: unknown lint: `x5100`
152   --> $DIR/issue-43106-gating-of-builtin-attrs.rs:174:12
153    |
154 LL |     #[deny(x5100)] fn f() { }
155    |            ^^^^^
156
157 warning: unknown lint: `x5100`
158   --> $DIR/issue-43106-gating-of-builtin-attrs.rs:177:12
159    |
160 LL |     #[deny(x5100)] struct S;
161    |            ^^^^^
162
163 warning: unknown lint: `x5100`
164   --> $DIR/issue-43106-gating-of-builtin-attrs.rs:180:12
165    |
166 LL |     #[deny(x5100)] type T = S;
167    |            ^^^^^
168
169 warning: unknown lint: `x5100`
170   --> $DIR/issue-43106-gating-of-builtin-attrs.rs:183:12
171    |
172 LL |     #[deny(x5100)] impl S { }
173    |            ^^^^^
174
175 warning: `#[macro_escape]` is a deprecated synonym for `#[macro_use]`
176   --> $DIR/issue-43106-gating-of-builtin-attrs.rs:441:17
177    |
178 LL |     mod inner { #![macro_escape] }
179    |                 ^^^^^^^^^^^^^^^^
180    |
181    = help: try an outer attribute: `#[macro_use]`
182
183 warning: `#[macro_escape]` is a deprecated synonym for `#[macro_use]`
184   --> $DIR/issue-43106-gating-of-builtin-attrs.rs:438:1
185    |
186 LL | #[macro_escape]
187    | ^^^^^^^^^^^^^^^
188
189 warning: use of deprecated attribute `plugin_registrar`: compiler plugins are deprecated. See https://github.com/rust-lang/rust/pull/64675
190   --> $DIR/issue-43106-gating-of-builtin-attrs.rs:228:17
191    |
192 LL |     mod inner { #![plugin_registrar] }
193    |                 ^^^^^^^^^^^^^^^^^^^^ help: may be removed in a future compiler version
194    |
195    = note: `#[warn(deprecated)]` on by default
196
197 warning: use of deprecated attribute `plugin_registrar`: compiler plugins are deprecated. See https://github.com/rust-lang/rust/pull/64675
198   --> $DIR/issue-43106-gating-of-builtin-attrs.rs:236:5
199    |
200 LL |     #[plugin_registrar] struct S;
201    |     ^^^^^^^^^^^^^^^^^^^ help: may be removed in a future compiler version
202
203 warning: use of deprecated attribute `plugin_registrar`: compiler plugins are deprecated. See https://github.com/rust-lang/rust/pull/64675
204   --> $DIR/issue-43106-gating-of-builtin-attrs.rs:241:5
205    |
206 LL |     #[plugin_registrar] type T = S;
207    |     ^^^^^^^^^^^^^^^^^^^ help: may be removed in a future compiler version
208
209 warning: use of deprecated attribute `plugin_registrar`: compiler plugins are deprecated. See https://github.com/rust-lang/rust/pull/64675
210   --> $DIR/issue-43106-gating-of-builtin-attrs.rs:246:5
211    |
212 LL |     #[plugin_registrar] impl S { }
213    |     ^^^^^^^^^^^^^^^^^^^ help: may be removed in a future compiler version
214
215 warning: use of deprecated attribute `plugin_registrar`: compiler plugins are deprecated. See https://github.com/rust-lang/rust/pull/64675
216   --> $DIR/issue-43106-gating-of-builtin-attrs.rs:223:1
217    |
218 LL | #[plugin_registrar]
219    | ^^^^^^^^^^^^^^^^^^^ help: may be removed in a future compiler version
220
221 warning: use of deprecated attribute `plugin_registrar`: compiler plugins are deprecated. See https://github.com/rust-lang/rust/pull/64675
222   --> $DIR/issue-43106-gating-of-builtin-attrs.rs:46:1
223    |
224 LL | #![plugin_registrar]
225    | ^^^^^^^^^^^^^^^^^^^^ help: may be removed in a future compiler version
226
227 warning: use of deprecated attribute `crate_id`: no longer used.
228   --> $DIR/issue-43106-gating-of-builtin-attrs.rs:91:1
229    |
230 LL | #![crate_id = "10"]
231    | ^^^^^^^^^^^^^^^^^^^ help: remove this attribute
232
233 warning: use of deprecated attribute `no_start`: no longer used.
234   --> $DIR/issue-43106-gating-of-builtin-attrs.rs:100:1
235    |
236 LL | #![no_start]
237    | ^^^^^^^^^^^^ help: remove this attribute
238
239 warning: attribute should be applied to a function or static
240   --> $DIR/issue-43106-gating-of-builtin-attrs.rs:333:1
241    |
242 LL |   #[no_mangle]
243    |   ^^^^^^^^^^^^
244 ...
245 LL | / mod no_mangle {
246 LL | |
247 LL | |     mod inner { #![no_mangle] }
248 LL | |
249 ...  |
250 LL | |
251 LL | | }
252    | |_- not a function or static
253    |
254 note: the lint level is defined here
255   --> $DIR/issue-43106-gating-of-builtin-attrs.rs:40:9
256    |
257 LL | #![warn(unused_attributes, unknown_lints)]
258    |         ^^^^^^^^^^^^^^^^^
259    = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
260
261 warning: attribute should be applied to a function
262   --> $DIR/issue-43106-gating-of-builtin-attrs.rs:500:1
263    |
264 LL |   #[cold]
265    |   ^^^^^^^
266 ...
267 LL | / mod cold {
268 LL | |
269 LL | |
270 LL | |     mod inner { #![cold] }
271 ...  |
272 LL | |
273 LL | | }
274    | |_- not a function
275    |
276    = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
277
278 warning: attribute should be applied to a foreign function or static
279   --> $DIR/issue-43106-gating-of-builtin-attrs.rs:529:1
280    |
281 LL |   #[link_name = "1900"]
282    |   ^^^^^^^^^^^^^^^^^^^^^
283 ...
284 LL | / mod link_name {
285 LL | |
286 LL | |
287 LL | |     #[link_name = "1900"]
288 ...  |
289 LL | |
290 LL | | }
291    | |_- not a foreign function or static
292    |
293    = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
294
295 warning: attribute should be applied to a function or static
296   --> $DIR/issue-43106-gating-of-builtin-attrs.rs:568:1
297    |
298 LL |   #[link_section = "1800"]
299    |   ^^^^^^^^^^^^^^^^^^^^^^^^
300 ...
301 LL | / mod link_section {
302 LL | |
303 LL | |
304 LL | |     mod inner { #![link_section="1800"] }
305 ...  |
306 LL | |
307 LL | | }
308    | |_- not a function or static
309    |
310    = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
311
312 warning: attribute should be applied to a function
313   --> $DIR/issue-43106-gating-of-builtin-attrs.rs:69:1
314    |
315 LL | #![cold]
316    | ^^^^^^^^
317    |
318    = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
319
320 warning: attribute should be applied to a foreign function or static
321   --> $DIR/issue-43106-gating-of-builtin-attrs.rs:73:1
322    |
323 LL | #![link_name = "1900"]
324    | ^^^^^^^^^^^^^^^^^^^^^^
325    |
326    = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
327
328 warning: attribute should be applied to a function or static
329   --> $DIR/issue-43106-gating-of-builtin-attrs.rs:76:1
330    |
331 LL | #![link_section = "1800"]
332    | ^^^^^^^^^^^^^^^^^^^^^^^^^
333    |
334    = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
335
336 warning: attribute should be applied to a function or static
337   --> $DIR/issue-43106-gating-of-builtin-attrs.rs:338:17
338    |
339 LL |     mod inner { #![no_mangle] }
340    |     ------------^^^^^^^^^^^^^-- not a function or static
341    |
342    = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
343
344 warning: attribute should be applied to a function or static
345   --> $DIR/issue-43106-gating-of-builtin-attrs.rs:345:5
346    |
347 LL |     #[no_mangle] struct S;
348    |     ^^^^^^^^^^^^ --------- not a function or static
349    |
350    = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
351
352 warning: attribute should be applied to a function or static
353   --> $DIR/issue-43106-gating-of-builtin-attrs.rs:350:5
354    |
355 LL |     #[no_mangle] type T = S;
356    |     ^^^^^^^^^^^^ ----------- not a function or static
357    |
358    = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
359
360 warning: attribute should be applied to a function or static
361   --> $DIR/issue-43106-gating-of-builtin-attrs.rs:355:5
362    |
363 LL |     #[no_mangle] impl S { }
364    |     ^^^^^^^^^^^^ ---------- not a function or static
365    |
366    = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
367
368 warning: attribute should be applied to a function
369   --> $DIR/issue-43106-gating-of-builtin-attrs.rs:506:17
370    |
371 LL |     mod inner { #![cold] }
372    |     ------------^^^^^^^^-- not a function
373    |
374    = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
375
376 warning: attribute should be applied to a function
377   --> $DIR/issue-43106-gating-of-builtin-attrs.rs:513:5
378    |
379 LL |     #[cold] struct S;
380    |     ^^^^^^^ --------- not a function
381    |
382    = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
383
384 warning: attribute should be applied to a function
385   --> $DIR/issue-43106-gating-of-builtin-attrs.rs:518:5
386    |
387 LL |     #[cold] type T = S;
388    |     ^^^^^^^ ----------- not a function
389    |
390    = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
391
392 warning: attribute should be applied to a function
393   --> $DIR/issue-43106-gating-of-builtin-attrs.rs:523:5
394    |
395 LL |     #[cold] impl S { }
396    |     ^^^^^^^ ---------- not a function
397    |
398    = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
399
400 warning: attribute should be applied to a foreign function or static
401   --> $DIR/issue-43106-gating-of-builtin-attrs.rs:535:5
402    |
403 LL |     #[link_name = "1900"]
404    |     ^^^^^^^^^^^^^^^^^^^^^
405 ...
406 LL |     extern "C" { }
407    |     -------------- not a foreign function or static
408    |
409    = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
410 help: try `#[link(name = "1900")]` instead
411   --> $DIR/issue-43106-gating-of-builtin-attrs.rs:535:5
412    |
413 LL |     #[link_name = "1900"]
414    |     ^^^^^^^^^^^^^^^^^^^^^
415
416 warning: attribute should be applied to a foreign function or static
417   --> $DIR/issue-43106-gating-of-builtin-attrs.rs:542:17
418    |
419 LL |     mod inner { #![link_name="1900"] }
420    |     ------------^^^^^^^^^^^^^^^^^^^^-- not a foreign function or static
421    |
422    = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
423
424 warning: attribute should be applied to a foreign function or static
425   --> $DIR/issue-43106-gating-of-builtin-attrs.rs:547:5
426    |
427 LL |     #[link_name = "1900"] fn f() { }
428    |     ^^^^^^^^^^^^^^^^^^^^^ ---------- not a foreign function or static
429    |
430    = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
431
432 warning: attribute should be applied to a foreign function or static
433   --> $DIR/issue-43106-gating-of-builtin-attrs.rs:552:5
434    |
435 LL |     #[link_name = "1900"] struct S;
436    |     ^^^^^^^^^^^^^^^^^^^^^ --------- not a foreign function or static
437    |
438    = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
439
440 warning: attribute should be applied to a foreign function or static
441   --> $DIR/issue-43106-gating-of-builtin-attrs.rs:557:5
442    |
443 LL |     #[link_name = "1900"] type T = S;
444    |     ^^^^^^^^^^^^^^^^^^^^^ ----------- not a foreign function or static
445    |
446    = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
447
448 warning: attribute should be applied to a foreign function or static
449   --> $DIR/issue-43106-gating-of-builtin-attrs.rs:562:5
450    |
451 LL |     #[link_name = "1900"] impl S { }
452    |     ^^^^^^^^^^^^^^^^^^^^^ ---------- not a foreign function or static
453    |
454    = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
455
456 warning: attribute should be applied to a function or static
457   --> $DIR/issue-43106-gating-of-builtin-attrs.rs:574:17
458    |
459 LL |     mod inner { #![link_section="1800"] }
460    |     ------------^^^^^^^^^^^^^^^^^^^^^^^-- not a function or static
461    |
462    = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
463
464 warning: attribute should be applied to a function or static
465   --> $DIR/issue-43106-gating-of-builtin-attrs.rs:581:5
466    |
467 LL |     #[link_section = "1800"] struct S;
468    |     ^^^^^^^^^^^^^^^^^^^^^^^^ --------- not a function or static
469    |
470    = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
471
472 warning: attribute should be applied to a function or static
473   --> $DIR/issue-43106-gating-of-builtin-attrs.rs:586:5
474    |
475 LL |     #[link_section = "1800"] type T = S;
476    |     ^^^^^^^^^^^^^^^^^^^^^^^^ ----------- not a function or static
477    |
478    = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
479
480 warning: attribute should be applied to a function or static
481   --> $DIR/issue-43106-gating-of-builtin-attrs.rs:591:5
482    |
483 LL |     #[link_section = "1800"] impl S { }
484    |     ^^^^^^^^^^^^^^^^^^^^^^^^ ---------- not a function or static
485    |
486    = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
487
488 warning: the feature `rust1` has been stable since 1.0.0 and no longer requires an attribute to enable
489   --> $DIR/issue-43106-gating-of-builtin-attrs.rs:96:12
490    |
491 LL | #![feature(rust1)]
492    |            ^^^^^
493    |
494    = note: `#[warn(stable_features)]` on by default
495
496 warning: unused attribute
497   --> $DIR/issue-43106-gating-of-builtin-attrs.rs:46:1
498    |
499 LL | #![plugin_registrar]
500    | ^^^^^^^^^^^^^^^^^^^^
501
502 warning: unused attribute
503   --> $DIR/issue-43106-gating-of-builtin-attrs.rs:60:1
504    |
505 LL | #![should_panic]
506    | ^^^^^^^^^^^^^^^^
507
508 warning: unused attribute
509   --> $DIR/issue-43106-gating-of-builtin-attrs.rs:61:1
510    |
511 LL | #![ignore]
512    | ^^^^^^^^^^
513
514 warning: unused attribute
515   --> $DIR/issue-43106-gating-of-builtin-attrs.rs:67:1
516    |
517 LL | #![proc_macro_derive()]
518    | ^^^^^^^^^^^^^^^^^^^^^^^
519
520 warning: unused attribute
521   --> $DIR/issue-43106-gating-of-builtin-attrs.rs:191:5
522    |
523 LL |     #[macro_use] fn f() { }
524    |     ^^^^^^^^^^^^
525
526 warning: unused attribute
527   --> $DIR/issue-43106-gating-of-builtin-attrs.rs:194:5
528    |
529 LL |     #[macro_use] struct S;
530    |     ^^^^^^^^^^^^
531
532 warning: unused attribute
533   --> $DIR/issue-43106-gating-of-builtin-attrs.rs:197:5
534    |
535 LL |     #[macro_use] type T = S;
536    |     ^^^^^^^^^^^^
537
538 warning: unused attribute
539   --> $DIR/issue-43106-gating-of-builtin-attrs.rs:200:5
540    |
541 LL |     #[macro_use] impl S { }
542    |     ^^^^^^^^^^^^
543
544 warning: unused attribute
545   --> $DIR/issue-43106-gating-of-builtin-attrs.rs:204:1
546    |
547 LL | #[macro_export]
548    | ^^^^^^^^^^^^^^^
549
550 warning: unused attribute
551   --> $DIR/issue-43106-gating-of-builtin-attrs.rs:207:17
552    |
553 LL |     mod inner { #![macro_export] }
554    |                 ^^^^^^^^^^^^^^^^
555
556 warning: unused attribute
557   --> $DIR/issue-43106-gating-of-builtin-attrs.rs:210:5
558    |
559 LL |     #[macro_export] fn f() { }
560    |     ^^^^^^^^^^^^^^^
561
562 warning: unused attribute
563   --> $DIR/issue-43106-gating-of-builtin-attrs.rs:213:5
564    |
565 LL |     #[macro_export] struct S;
566    |     ^^^^^^^^^^^^^^^
567
568 warning: unused attribute
569   --> $DIR/issue-43106-gating-of-builtin-attrs.rs:216:5
570    |
571 LL |     #[macro_export] type T = S;
572    |     ^^^^^^^^^^^^^^^
573
574 warning: unused attribute
575   --> $DIR/issue-43106-gating-of-builtin-attrs.rs:219:5
576    |
577 LL |     #[macro_export] impl S { }
578    |     ^^^^^^^^^^^^^^^
579
580 warning: unused attribute
581   --> $DIR/issue-43106-gating-of-builtin-attrs.rs:223:1
582    |
583 LL | #[plugin_registrar]
584    | ^^^^^^^^^^^^^^^^^^^
585
586 warning: unused attribute
587   --> $DIR/issue-43106-gating-of-builtin-attrs.rs:228:17
588    |
589 LL |     mod inner { #![plugin_registrar] }
590    |                 ^^^^^^^^^^^^^^^^^^^^
591
592 warning: unused attribute
593   --> $DIR/issue-43106-gating-of-builtin-attrs.rs:236:5
594    |
595 LL |     #[plugin_registrar] struct S;
596    |     ^^^^^^^^^^^^^^^^^^^
597
598 warning: unused attribute
599   --> $DIR/issue-43106-gating-of-builtin-attrs.rs:241:5
600    |
601 LL |     #[plugin_registrar] type T = S;
602    |     ^^^^^^^^^^^^^^^^^^^
603
604 warning: unused attribute
605   --> $DIR/issue-43106-gating-of-builtin-attrs.rs:246:5
606    |
607 LL |     #[plugin_registrar] impl S { }
608    |     ^^^^^^^^^^^^^^^^^^^
609
610 warning: unused attribute
611   --> $DIR/issue-43106-gating-of-builtin-attrs.rs:301:5
612    |
613 LL |     #[path = "3800"] fn f() { }
614    |     ^^^^^^^^^^^^^^^^
615
616 warning: unused attribute
617   --> $DIR/issue-43106-gating-of-builtin-attrs.rs:304:5
618    |
619 LL |     #[path = "3800"]  struct S;
620    |     ^^^^^^^^^^^^^^^^
621
622 warning: unused attribute
623   --> $DIR/issue-43106-gating-of-builtin-attrs.rs:307:5
624    |
625 LL |     #[path = "3800"] type T = S;
626    |     ^^^^^^^^^^^^^^^^
627
628 warning: unused attribute
629   --> $DIR/issue-43106-gating-of-builtin-attrs.rs:310:5
630    |
631 LL |     #[path = "3800"] impl S { }
632    |     ^^^^^^^^^^^^^^^^
633
634 warning: unused attribute
635   --> $DIR/issue-43106-gating-of-builtin-attrs.rs:314:1
636    |
637 LL | #[automatically_derived]
638    | ^^^^^^^^^^^^^^^^^^^^^^^^
639
640 warning: unused attribute
641   --> $DIR/issue-43106-gating-of-builtin-attrs.rs:317:17
642    |
643 LL |     mod inner { #![automatically_derived] }
644    |                 ^^^^^^^^^^^^^^^^^^^^^^^^^
645
646 warning: unused attribute
647   --> $DIR/issue-43106-gating-of-builtin-attrs.rs:320:5
648    |
649 LL |     #[automatically_derived] fn f() { }
650    |     ^^^^^^^^^^^^^^^^^^^^^^^^
651
652 warning: unused attribute
653   --> $DIR/issue-43106-gating-of-builtin-attrs.rs:323:5
654    |
655 LL |     #[automatically_derived] struct S;
656    |     ^^^^^^^^^^^^^^^^^^^^^^^^
657
658 warning: unused attribute
659   --> $DIR/issue-43106-gating-of-builtin-attrs.rs:326:5
660    |
661 LL |     #[automatically_derived] type T = S;
662    |     ^^^^^^^^^^^^^^^^^^^^^^^^
663
664 warning: unused attribute
665   --> $DIR/issue-43106-gating-of-builtin-attrs.rs:329:5
666    |
667 LL |     #[automatically_derived] impl S { }
668    |     ^^^^^^^^^^^^^^^^^^^^^^^^
669
670 warning: unused attribute
671   --> $DIR/issue-43106-gating-of-builtin-attrs.rs:361:1
672    |
673 LL | #[should_panic]
674    | ^^^^^^^^^^^^^^^
675
676 warning: unused attribute
677   --> $DIR/issue-43106-gating-of-builtin-attrs.rs:364:17
678    |
679 LL |     mod inner { #![should_panic] }
680    |                 ^^^^^^^^^^^^^^^^
681
682 warning: unused attribute
683   --> $DIR/issue-43106-gating-of-builtin-attrs.rs:367:5
684    |
685 LL |     #[should_panic] fn f() { }
686    |     ^^^^^^^^^^^^^^^
687
688 warning: unused attribute
689   --> $DIR/issue-43106-gating-of-builtin-attrs.rs:370:5
690    |
691 LL |     #[should_panic] struct S;
692    |     ^^^^^^^^^^^^^^^
693
694 warning: unused attribute
695   --> $DIR/issue-43106-gating-of-builtin-attrs.rs:373:5
696    |
697 LL |     #[should_panic] type T = S;
698    |     ^^^^^^^^^^^^^^^
699
700 warning: unused attribute
701   --> $DIR/issue-43106-gating-of-builtin-attrs.rs:376:5
702    |
703 LL |     #[should_panic] impl S { }
704    |     ^^^^^^^^^^^^^^^
705
706 warning: unused attribute
707   --> $DIR/issue-43106-gating-of-builtin-attrs.rs:380:1
708    |
709 LL | #[ignore]
710    | ^^^^^^^^^
711
712 warning: unused attribute
713   --> $DIR/issue-43106-gating-of-builtin-attrs.rs:383:17
714    |
715 LL |     mod inner { #![ignore] }
716    |                 ^^^^^^^^^^
717
718 warning: unused attribute
719   --> $DIR/issue-43106-gating-of-builtin-attrs.rs:386:5
720    |
721 LL |     #[ignore] fn f() { }
722    |     ^^^^^^^^^
723
724 warning: unused attribute
725   --> $DIR/issue-43106-gating-of-builtin-attrs.rs:389:5
726    |
727 LL |     #[ignore] struct S;
728    |     ^^^^^^^^^
729
730 warning: unused attribute
731   --> $DIR/issue-43106-gating-of-builtin-attrs.rs:392:5
732    |
733 LL |     #[ignore] type T = S;
734    |     ^^^^^^^^^
735
736 warning: unused attribute
737   --> $DIR/issue-43106-gating-of-builtin-attrs.rs:395:5
738    |
739 LL |     #[ignore] impl S { }
740    |     ^^^^^^^^^
741
742 warning: unused attribute
743   --> $DIR/issue-43106-gating-of-builtin-attrs.rs:399:1
744    |
745 LL | #[no_implicit_prelude]
746    | ^^^^^^^^^^^^^^^^^^^^^^
747
748 warning: unused attribute
749   --> $DIR/issue-43106-gating-of-builtin-attrs.rs:402:17
750    |
751 LL |     mod inner { #![no_implicit_prelude] }
752    |                 ^^^^^^^^^^^^^^^^^^^^^^^
753
754 warning: unused attribute
755   --> $DIR/issue-43106-gating-of-builtin-attrs.rs:405:5
756    |
757 LL |     #[no_implicit_prelude] fn f() { }
758    |     ^^^^^^^^^^^^^^^^^^^^^^
759
760 warning: unused attribute
761   --> $DIR/issue-43106-gating-of-builtin-attrs.rs:408:5
762    |
763 LL |     #[no_implicit_prelude] struct S;
764    |     ^^^^^^^^^^^^^^^^^^^^^^
765
766 warning: unused attribute
767   --> $DIR/issue-43106-gating-of-builtin-attrs.rs:411:5
768    |
769 LL |     #[no_implicit_prelude] type T = S;
770    |     ^^^^^^^^^^^^^^^^^^^^^^
771
772 warning: unused attribute
773   --> $DIR/issue-43106-gating-of-builtin-attrs.rs:414:5
774    |
775 LL |     #[no_implicit_prelude] impl S { }
776    |     ^^^^^^^^^^^^^^^^^^^^^^
777
778 warning: unused attribute
779   --> $DIR/issue-43106-gating-of-builtin-attrs.rs:418:1
780    |
781 LL | #[reexport_test_harness_main = "2900"]
782    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
783
784 warning: unused attribute
785   --> $DIR/issue-43106-gating-of-builtin-attrs.rs:421:17
786    |
787 LL |     mod inner { #![reexport_test_harness_main="2900"] }
788    |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
789
790 warning: unused attribute
791   --> $DIR/issue-43106-gating-of-builtin-attrs.rs:424:5
792    |
793 LL |     #[reexport_test_harness_main = "2900"] fn f() { }
794    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
795
796 warning: unused attribute
797   --> $DIR/issue-43106-gating-of-builtin-attrs.rs:427:5
798    |
799 LL |     #[reexport_test_harness_main = "2900"] struct S;
800    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
801
802 warning: unused attribute
803   --> $DIR/issue-43106-gating-of-builtin-attrs.rs:430:5
804    |
805 LL |     #[reexport_test_harness_main = "2900"] type T = S;
806    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
807
808 warning: unused attribute
809   --> $DIR/issue-43106-gating-of-builtin-attrs.rs:433:5
810    |
811 LL |     #[reexport_test_harness_main = "2900"] impl S { }
812    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
813
814 warning: unused attribute
815   --> $DIR/issue-43106-gating-of-builtin-attrs.rs:445:5
816    |
817 LL |     #[macro_escape] fn f() { }
818    |     ^^^^^^^^^^^^^^^
819
820 warning: unused attribute
821   --> $DIR/issue-43106-gating-of-builtin-attrs.rs:448:5
822    |
823 LL |     #[macro_escape] struct S;
824    |     ^^^^^^^^^^^^^^^
825
826 warning: unused attribute
827   --> $DIR/issue-43106-gating-of-builtin-attrs.rs:451:5
828    |
829 LL |     #[macro_escape] type T = S;
830    |     ^^^^^^^^^^^^^^^
831
832 warning: unused attribute
833   --> $DIR/issue-43106-gating-of-builtin-attrs.rs:454:5
834    |
835 LL |     #[macro_escape] impl S { }
836    |     ^^^^^^^^^^^^^^^
837
838 warning: unused attribute
839   --> $DIR/issue-43106-gating-of-builtin-attrs.rs:458:1
840    |
841 LL | #[no_std]
842    | ^^^^^^^^^
843
844 warning: crate-level attribute should be an inner attribute: add an exclamation mark: `#![foo]`
845   --> $DIR/issue-43106-gating-of-builtin-attrs.rs:458:1
846    |
847 LL | #[no_std]
848    | ^^^^^^^^^
849
850 warning: unused attribute
851   --> $DIR/issue-43106-gating-of-builtin-attrs.rs:462:17
852    |
853 LL |     mod inner { #![no_std] }
854    |                 ^^^^^^^^^^
855
856 warning: crate-level attribute should be in the root module
857   --> $DIR/issue-43106-gating-of-builtin-attrs.rs:462:17
858    |
859 LL |     mod inner { #![no_std] }
860    |                 ^^^^^^^^^^
861
862 warning: unused attribute
863   --> $DIR/issue-43106-gating-of-builtin-attrs.rs:466:5
864    |
865 LL |     #[no_std] fn f() { }
866    |     ^^^^^^^^^
867
868 warning: crate-level attribute should be an inner attribute: add an exclamation mark: `#![foo]`
869   --> $DIR/issue-43106-gating-of-builtin-attrs.rs:466:5
870    |
871 LL |     #[no_std] fn f() { }
872    |     ^^^^^^^^^
873
874 warning: unused attribute
875   --> $DIR/issue-43106-gating-of-builtin-attrs.rs:470:5
876    |
877 LL |     #[no_std] struct S;
878    |     ^^^^^^^^^
879
880 warning: crate-level attribute should be an inner attribute: add an exclamation mark: `#![foo]`
881   --> $DIR/issue-43106-gating-of-builtin-attrs.rs:470:5
882    |
883 LL |     #[no_std] struct S;
884    |     ^^^^^^^^^
885
886 warning: unused attribute
887   --> $DIR/issue-43106-gating-of-builtin-attrs.rs:474:5
888    |
889 LL |     #[no_std] type T = S;
890    |     ^^^^^^^^^
891
892 warning: crate-level attribute should be an inner attribute: add an exclamation mark: `#![foo]`
893   --> $DIR/issue-43106-gating-of-builtin-attrs.rs:474:5
894    |
895 LL |     #[no_std] type T = S;
896    |     ^^^^^^^^^
897
898 warning: unused attribute
899   --> $DIR/issue-43106-gating-of-builtin-attrs.rs:478:5
900    |
901 LL |     #[no_std] impl S { }
902    |     ^^^^^^^^^
903
904 warning: crate-level attribute should be an inner attribute: add an exclamation mark: `#![foo]`
905   --> $DIR/issue-43106-gating-of-builtin-attrs.rs:478:5
906    |
907 LL |     #[no_std] impl S { }
908    |     ^^^^^^^^^
909
910 warning: unused attribute
911   --> $DIR/issue-43106-gating-of-builtin-attrs.rs:659:1
912    |
913 LL | #[crate_name = "0900"]
914    | ^^^^^^^^^^^^^^^^^^^^^^
915
916 warning: crate-level attribute should be an inner attribute: add an exclamation mark: `#![foo]`
917   --> $DIR/issue-43106-gating-of-builtin-attrs.rs:659:1
918    |
919 LL | #[crate_name = "0900"]
920    | ^^^^^^^^^^^^^^^^^^^^^^
921
922 warning: unused attribute
923   --> $DIR/issue-43106-gating-of-builtin-attrs.rs:663:17
924    |
925 LL |     mod inner { #![crate_name="0900"] }
926    |                 ^^^^^^^^^^^^^^^^^^^^^
927
928 warning: crate-level attribute should be in the root module
929   --> $DIR/issue-43106-gating-of-builtin-attrs.rs:663:17
930    |
931 LL |     mod inner { #![crate_name="0900"] }
932    |                 ^^^^^^^^^^^^^^^^^^^^^
933
934 warning: unused attribute
935   --> $DIR/issue-43106-gating-of-builtin-attrs.rs:667:5
936    |
937 LL |     #[crate_name = "0900"] fn f() { }
938    |     ^^^^^^^^^^^^^^^^^^^^^^
939
940 warning: crate-level attribute should be an inner attribute: add an exclamation mark: `#![foo]`
941   --> $DIR/issue-43106-gating-of-builtin-attrs.rs:667:5
942    |
943 LL |     #[crate_name = "0900"] fn f() { }
944    |     ^^^^^^^^^^^^^^^^^^^^^^
945
946 warning: unused attribute
947   --> $DIR/issue-43106-gating-of-builtin-attrs.rs:671:5
948    |
949 LL |     #[crate_name = "0900"] struct S;
950    |     ^^^^^^^^^^^^^^^^^^^^^^
951
952 warning: crate-level attribute should be an inner attribute: add an exclamation mark: `#![foo]`
953   --> $DIR/issue-43106-gating-of-builtin-attrs.rs:671:5
954    |
955 LL |     #[crate_name = "0900"] struct S;
956    |     ^^^^^^^^^^^^^^^^^^^^^^
957
958 warning: unused attribute
959   --> $DIR/issue-43106-gating-of-builtin-attrs.rs:675:5
960    |
961 LL |     #[crate_name = "0900"] type T = S;
962    |     ^^^^^^^^^^^^^^^^^^^^^^
963
964 warning: crate-level attribute should be an inner attribute: add an exclamation mark: `#![foo]`
965   --> $DIR/issue-43106-gating-of-builtin-attrs.rs:675:5
966    |
967 LL |     #[crate_name = "0900"] type T = S;
968    |     ^^^^^^^^^^^^^^^^^^^^^^
969
970 warning: unused attribute
971   --> $DIR/issue-43106-gating-of-builtin-attrs.rs:679:5
972    |
973 LL |     #[crate_name = "0900"] impl S { }
974    |     ^^^^^^^^^^^^^^^^^^^^^^
975
976 warning: crate-level attribute should be an inner attribute: add an exclamation mark: `#![foo]`
977   --> $DIR/issue-43106-gating-of-builtin-attrs.rs:679:5
978    |
979 LL |     #[crate_name = "0900"] impl S { }
980    |     ^^^^^^^^^^^^^^^^^^^^^^
981
982 warning: unused attribute
983   --> $DIR/issue-43106-gating-of-builtin-attrs.rs:684:1
984    |
985 LL | #[crate_type = "0800"]
986    | ^^^^^^^^^^^^^^^^^^^^^^
987
988 warning: crate-level attribute should be an inner attribute: add an exclamation mark: `#![foo]`
989   --> $DIR/issue-43106-gating-of-builtin-attrs.rs:684:1
990    |
991 LL | #[crate_type = "0800"]
992    | ^^^^^^^^^^^^^^^^^^^^^^
993
994 warning: unused attribute
995   --> $DIR/issue-43106-gating-of-builtin-attrs.rs:688:17
996    |
997 LL |     mod inner { #![crate_type="0800"] }
998    |                 ^^^^^^^^^^^^^^^^^^^^^
999
1000 warning: crate-level attribute should be in the root module
1001   --> $DIR/issue-43106-gating-of-builtin-attrs.rs:688:17
1002    |
1003 LL |     mod inner { #![crate_type="0800"] }
1004    |                 ^^^^^^^^^^^^^^^^^^^^^
1005
1006 warning: unused attribute
1007   --> $DIR/issue-43106-gating-of-builtin-attrs.rs:692:5
1008    |
1009 LL |     #[crate_type = "0800"] fn f() { }
1010    |     ^^^^^^^^^^^^^^^^^^^^^^
1011
1012 warning: crate-level attribute should be an inner attribute: add an exclamation mark: `#![foo]`
1013   --> $DIR/issue-43106-gating-of-builtin-attrs.rs:692:5
1014    |
1015 LL |     #[crate_type = "0800"] fn f() { }
1016    |     ^^^^^^^^^^^^^^^^^^^^^^
1017
1018 warning: unused attribute
1019   --> $DIR/issue-43106-gating-of-builtin-attrs.rs:696:5
1020    |
1021 LL |     #[crate_type = "0800"] struct S;
1022    |     ^^^^^^^^^^^^^^^^^^^^^^
1023
1024 warning: crate-level attribute should be an inner attribute: add an exclamation mark: `#![foo]`
1025   --> $DIR/issue-43106-gating-of-builtin-attrs.rs:696:5
1026    |
1027 LL |     #[crate_type = "0800"] struct S;
1028    |     ^^^^^^^^^^^^^^^^^^^^^^
1029
1030 warning: unused attribute
1031   --> $DIR/issue-43106-gating-of-builtin-attrs.rs:700:5
1032    |
1033 LL |     #[crate_type = "0800"] type T = S;
1034    |     ^^^^^^^^^^^^^^^^^^^^^^
1035
1036 warning: crate-level attribute should be an inner attribute: add an exclamation mark: `#![foo]`
1037   --> $DIR/issue-43106-gating-of-builtin-attrs.rs:700:5
1038    |
1039 LL |     #[crate_type = "0800"] type T = S;
1040    |     ^^^^^^^^^^^^^^^^^^^^^^
1041
1042 warning: unused attribute
1043   --> $DIR/issue-43106-gating-of-builtin-attrs.rs:704:5
1044    |
1045 LL |     #[crate_type = "0800"] impl S { }
1046    |     ^^^^^^^^^^^^^^^^^^^^^^
1047
1048 warning: crate-level attribute should be an inner attribute: add an exclamation mark: `#![foo]`
1049   --> $DIR/issue-43106-gating-of-builtin-attrs.rs:704:5
1050    |
1051 LL |     #[crate_type = "0800"] impl S { }
1052    |     ^^^^^^^^^^^^^^^^^^^^^^
1053
1054 warning: unused attribute
1055   --> $DIR/issue-43106-gating-of-builtin-attrs.rs:709:1
1056    |
1057 LL | #[feature(x0600)]
1058    | ^^^^^^^^^^^^^^^^^
1059
1060 warning: crate-level attribute should be an inner attribute: add an exclamation mark: `#![foo]`
1061   --> $DIR/issue-43106-gating-of-builtin-attrs.rs:709:1
1062    |
1063 LL | #[feature(x0600)]
1064    | ^^^^^^^^^^^^^^^^^
1065
1066 warning: unused attribute
1067   --> $DIR/issue-43106-gating-of-builtin-attrs.rs:713:17
1068    |
1069 LL |     mod inner { #![feature(x0600)] }
1070    |                 ^^^^^^^^^^^^^^^^^^
1071
1072 warning: crate-level attribute should be in the root module
1073   --> $DIR/issue-43106-gating-of-builtin-attrs.rs:713:17
1074    |
1075 LL |     mod inner { #![feature(x0600)] }
1076    |                 ^^^^^^^^^^^^^^^^^^
1077
1078 warning: unused attribute
1079   --> $DIR/issue-43106-gating-of-builtin-attrs.rs:717:5
1080    |
1081 LL |     #[feature(x0600)] fn f() { }
1082    |     ^^^^^^^^^^^^^^^^^
1083
1084 warning: crate-level attribute should be an inner attribute: add an exclamation mark: `#![foo]`
1085   --> $DIR/issue-43106-gating-of-builtin-attrs.rs:717:5
1086    |
1087 LL |     #[feature(x0600)] fn f() { }
1088    |     ^^^^^^^^^^^^^^^^^
1089
1090 warning: unused attribute
1091   --> $DIR/issue-43106-gating-of-builtin-attrs.rs:721:5
1092    |
1093 LL |     #[feature(x0600)] struct S;
1094    |     ^^^^^^^^^^^^^^^^^
1095
1096 warning: crate-level attribute should be an inner attribute: add an exclamation mark: `#![foo]`
1097   --> $DIR/issue-43106-gating-of-builtin-attrs.rs:721:5
1098    |
1099 LL |     #[feature(x0600)] struct S;
1100    |     ^^^^^^^^^^^^^^^^^
1101
1102 warning: unused attribute
1103   --> $DIR/issue-43106-gating-of-builtin-attrs.rs:725:5
1104    |
1105 LL |     #[feature(x0600)] type T = S;
1106    |     ^^^^^^^^^^^^^^^^^
1107
1108 warning: crate-level attribute should be an inner attribute: add an exclamation mark: `#![foo]`
1109   --> $DIR/issue-43106-gating-of-builtin-attrs.rs:725:5
1110    |
1111 LL |     #[feature(x0600)] type T = S;
1112    |     ^^^^^^^^^^^^^^^^^
1113
1114 warning: unused attribute
1115   --> $DIR/issue-43106-gating-of-builtin-attrs.rs:729:5
1116    |
1117 LL |     #[feature(x0600)] impl S { }
1118    |     ^^^^^^^^^^^^^^^^^
1119
1120 warning: crate-level attribute should be an inner attribute: add an exclamation mark: `#![foo]`
1121   --> $DIR/issue-43106-gating-of-builtin-attrs.rs:729:5
1122    |
1123 LL |     #[feature(x0600)] impl S { }
1124    |     ^^^^^^^^^^^^^^^^^
1125
1126 warning: unused attribute
1127   --> $DIR/issue-43106-gating-of-builtin-attrs.rs:735:1
1128    |
1129 LL | #[no_main]
1130    | ^^^^^^^^^^
1131
1132 warning: crate-level attribute should be an inner attribute: add an exclamation mark: `#![foo]`
1133   --> $DIR/issue-43106-gating-of-builtin-attrs.rs:735:1
1134    |
1135 LL | #[no_main]
1136    | ^^^^^^^^^^
1137
1138 warning: unused attribute
1139   --> $DIR/issue-43106-gating-of-builtin-attrs.rs:739:17
1140    |
1141 LL |     mod inner { #![no_main] }
1142    |                 ^^^^^^^^^^^
1143
1144 warning: crate-level attribute should be in the root module
1145   --> $DIR/issue-43106-gating-of-builtin-attrs.rs:739:17
1146    |
1147 LL |     mod inner { #![no_main] }
1148    |                 ^^^^^^^^^^^
1149
1150 warning: unused attribute
1151   --> $DIR/issue-43106-gating-of-builtin-attrs.rs:743:5
1152    |
1153 LL |     #[no_main] fn f() { }
1154    |     ^^^^^^^^^^
1155
1156 warning: crate-level attribute should be an inner attribute: add an exclamation mark: `#![foo]`
1157   --> $DIR/issue-43106-gating-of-builtin-attrs.rs:743:5
1158    |
1159 LL |     #[no_main] fn f() { }
1160    |     ^^^^^^^^^^
1161
1162 warning: unused attribute
1163   --> $DIR/issue-43106-gating-of-builtin-attrs.rs:747:5
1164    |
1165 LL |     #[no_main] struct S;
1166    |     ^^^^^^^^^^
1167
1168 warning: crate-level attribute should be an inner attribute: add an exclamation mark: `#![foo]`
1169   --> $DIR/issue-43106-gating-of-builtin-attrs.rs:747:5
1170    |
1171 LL |     #[no_main] struct S;
1172    |     ^^^^^^^^^^
1173
1174 warning: unused attribute
1175   --> $DIR/issue-43106-gating-of-builtin-attrs.rs:751:5
1176    |
1177 LL |     #[no_main] type T = S;
1178    |     ^^^^^^^^^^
1179
1180 warning: crate-level attribute should be an inner attribute: add an exclamation mark: `#![foo]`
1181   --> $DIR/issue-43106-gating-of-builtin-attrs.rs:751:5
1182    |
1183 LL |     #[no_main] type T = S;
1184    |     ^^^^^^^^^^
1185
1186 warning: unused attribute
1187   --> $DIR/issue-43106-gating-of-builtin-attrs.rs:755:5
1188    |
1189 LL |     #[no_main] impl S { }
1190    |     ^^^^^^^^^^
1191
1192 warning: crate-level attribute should be an inner attribute: add an exclamation mark: `#![foo]`
1193   --> $DIR/issue-43106-gating-of-builtin-attrs.rs:755:5
1194    |
1195 LL |     #[no_main] impl S { }
1196    |     ^^^^^^^^^^
1197
1198 warning: unused attribute
1199   --> $DIR/issue-43106-gating-of-builtin-attrs.rs:773:1
1200    |
1201 LL | #[recursion_limit="0200"]
1202    | ^^^^^^^^^^^^^^^^^^^^^^^^^
1203
1204 warning: crate-level attribute should be an inner attribute: add an exclamation mark: `#![foo]`
1205   --> $DIR/issue-43106-gating-of-builtin-attrs.rs:773:1
1206    |
1207 LL | #[recursion_limit="0200"]
1208    | ^^^^^^^^^^^^^^^^^^^^^^^^^
1209
1210 warning: unused attribute
1211   --> $DIR/issue-43106-gating-of-builtin-attrs.rs:777:17
1212    |
1213 LL |     mod inner { #![recursion_limit="0200"] }
1214    |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^
1215
1216 warning: crate-level attribute should be in the root module
1217   --> $DIR/issue-43106-gating-of-builtin-attrs.rs:777:17
1218    |
1219 LL |     mod inner { #![recursion_limit="0200"] }
1220    |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^
1221
1222 warning: unused attribute
1223   --> $DIR/issue-43106-gating-of-builtin-attrs.rs:781:5
1224    |
1225 LL |     #[recursion_limit="0200"] fn f() { }
1226    |     ^^^^^^^^^^^^^^^^^^^^^^^^^
1227
1228 warning: crate-level attribute should be an inner attribute: add an exclamation mark: `#![foo]`
1229   --> $DIR/issue-43106-gating-of-builtin-attrs.rs:781:5
1230    |
1231 LL |     #[recursion_limit="0200"] fn f() { }
1232    |     ^^^^^^^^^^^^^^^^^^^^^^^^^
1233
1234 warning: unused attribute
1235   --> $DIR/issue-43106-gating-of-builtin-attrs.rs:785:5
1236    |
1237 LL |     #[recursion_limit="0200"] struct S;
1238    |     ^^^^^^^^^^^^^^^^^^^^^^^^^
1239
1240 warning: crate-level attribute should be an inner attribute: add an exclamation mark: `#![foo]`
1241   --> $DIR/issue-43106-gating-of-builtin-attrs.rs:785:5
1242    |
1243 LL |     #[recursion_limit="0200"] struct S;
1244    |     ^^^^^^^^^^^^^^^^^^^^^^^^^
1245
1246 warning: unused attribute
1247   --> $DIR/issue-43106-gating-of-builtin-attrs.rs:789:5
1248    |
1249 LL |     #[recursion_limit="0200"] type T = S;
1250    |     ^^^^^^^^^^^^^^^^^^^^^^^^^
1251
1252 warning: crate-level attribute should be an inner attribute: add an exclamation mark: `#![foo]`
1253   --> $DIR/issue-43106-gating-of-builtin-attrs.rs:789:5
1254    |
1255 LL |     #[recursion_limit="0200"] type T = S;
1256    |     ^^^^^^^^^^^^^^^^^^^^^^^^^
1257
1258 warning: unused attribute
1259   --> $DIR/issue-43106-gating-of-builtin-attrs.rs:793:5
1260    |
1261 LL |     #[recursion_limit="0200"] impl S { }
1262    |     ^^^^^^^^^^^^^^^^^^^^^^^^^
1263
1264 warning: crate-level attribute should be an inner attribute: add an exclamation mark: `#![foo]`
1265   --> $DIR/issue-43106-gating-of-builtin-attrs.rs:793:5
1266    |
1267 LL |     #[recursion_limit="0200"] impl S { }
1268    |     ^^^^^^^^^^^^^^^^^^^^^^^^^
1269
1270 warning: unused attribute
1271   --> $DIR/issue-43106-gating-of-builtin-attrs.rs:798:1
1272    |
1273 LL | #[type_length_limit="0100"]
1274    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^
1275
1276 warning: crate-level attribute should be an inner attribute: add an exclamation mark: `#![foo]`
1277   --> $DIR/issue-43106-gating-of-builtin-attrs.rs:798:1
1278    |
1279 LL | #[type_length_limit="0100"]
1280    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^
1281
1282 warning: unused attribute
1283   --> $DIR/issue-43106-gating-of-builtin-attrs.rs:802:17
1284    |
1285 LL |     mod inner { #![type_length_limit="0100"] }
1286    |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
1287
1288 warning: crate-level attribute should be in the root module
1289   --> $DIR/issue-43106-gating-of-builtin-attrs.rs:802:17
1290    |
1291 LL |     mod inner { #![type_length_limit="0100"] }
1292    |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
1293
1294 warning: unused attribute
1295   --> $DIR/issue-43106-gating-of-builtin-attrs.rs:806:5
1296    |
1297 LL |     #[type_length_limit="0100"] fn f() { }
1298    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^
1299
1300 warning: crate-level attribute should be an inner attribute: add an exclamation mark: `#![foo]`
1301   --> $DIR/issue-43106-gating-of-builtin-attrs.rs:806:5
1302    |
1303 LL |     #[type_length_limit="0100"] fn f() { }
1304    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^
1305
1306 warning: unused attribute
1307   --> $DIR/issue-43106-gating-of-builtin-attrs.rs:810:5
1308    |
1309 LL |     #[type_length_limit="0100"] struct S;
1310    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^
1311
1312 warning: crate-level attribute should be an inner attribute: add an exclamation mark: `#![foo]`
1313   --> $DIR/issue-43106-gating-of-builtin-attrs.rs:810:5
1314    |
1315 LL |     #[type_length_limit="0100"] struct S;
1316    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^
1317
1318 warning: unused attribute
1319   --> $DIR/issue-43106-gating-of-builtin-attrs.rs:814:5
1320    |
1321 LL |     #[type_length_limit="0100"] type T = S;
1322    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^
1323
1324 warning: crate-level attribute should be an inner attribute: add an exclamation mark: `#![foo]`
1325   --> $DIR/issue-43106-gating-of-builtin-attrs.rs:814:5
1326    |
1327 LL |     #[type_length_limit="0100"] type T = S;
1328    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^
1329
1330 warning: unused attribute
1331   --> $DIR/issue-43106-gating-of-builtin-attrs.rs:818:5
1332    |
1333 LL |     #[type_length_limit="0100"] impl S { }
1334    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^
1335
1336 warning: crate-level attribute should be an inner attribute: add an exclamation mark: `#![foo]`
1337   --> $DIR/issue-43106-gating-of-builtin-attrs.rs:818:5
1338    |
1339 LL |     #[type_length_limit="0100"] impl S { }
1340    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^
1341
1342 warning: 205 warnings emitted
1343