1 warning: unknown lint: `x5400`
2 --> $DIR/issue-43106-gating-of-builtin-attrs.rs:50:33
4 LL | #![warn (x5400)] //~ WARN unknown lint: `x5400`
7 note: lint level defined here
8 --> $DIR/issue-43106-gating-of-builtin-attrs.rs:44:28
10 LL | #![warn(unused_attributes, unknown_lints)]
13 warning: unknown lint: `x5300`
14 --> $DIR/issue-43106-gating-of-builtin-attrs.rs:51:33
16 LL | #![allow (x5300)] //~ WARN unknown lint: `x5300`
19 warning: unknown lint: `x5200`
20 --> $DIR/issue-43106-gating-of-builtin-attrs.rs:52:33
22 LL | #![forbid (x5200)] //~ WARN unknown lint: `x5200`
25 warning: unknown lint: `x5100`
26 --> $DIR/issue-43106-gating-of-builtin-attrs.rs:53:33
28 LL | #![deny (x5100)] //~ WARN unknown lint: `x5100`
31 warning: unknown lint: `x5400`
32 --> $DIR/issue-43106-gating-of-builtin-attrs.rs:115:8
37 warning: unknown lint: `x5400`
38 --> $DIR/issue-43106-gating-of-builtin-attrs.rs:118:25
40 LL | mod inner { #![warn(x5400)] }
43 warning: unknown lint: `x5400`
44 --> $DIR/issue-43106-gating-of-builtin-attrs.rs:121:12
46 LL | #[warn(x5400)] fn f() { }
49 warning: unknown lint: `x5400`
50 --> $DIR/issue-43106-gating-of-builtin-attrs.rs:124:12
52 LL | #[warn(x5400)] struct S;
55 warning: unknown lint: `x5400`
56 --> $DIR/issue-43106-gating-of-builtin-attrs.rs:127:12
58 LL | #[warn(x5400)] type T = S;
61 warning: unknown lint: `x5400`
62 --> $DIR/issue-43106-gating-of-builtin-attrs.rs:130:12
64 LL | #[warn(x5400)] impl S { }
67 warning: unknown lint: `x5300`
68 --> $DIR/issue-43106-gating-of-builtin-attrs.rs:134:9
73 warning: unknown lint: `x5300`
74 --> $DIR/issue-43106-gating-of-builtin-attrs.rs:137:26
76 LL | mod inner { #![allow(x5300)] }
79 warning: unknown lint: `x5300`
80 --> $DIR/issue-43106-gating-of-builtin-attrs.rs:140:13
82 LL | #[allow(x5300)] fn f() { }
85 warning: unknown lint: `x5300`
86 --> $DIR/issue-43106-gating-of-builtin-attrs.rs:143:13
88 LL | #[allow(x5300)] struct S;
91 warning: unknown lint: `x5300`
92 --> $DIR/issue-43106-gating-of-builtin-attrs.rs:146:13
94 LL | #[allow(x5300)] type T = S;
97 warning: unknown lint: `x5300`
98 --> $DIR/issue-43106-gating-of-builtin-attrs.rs:149:13
100 LL | #[allow(x5300)] impl S { }
103 warning: unknown lint: `x5200`
104 --> $DIR/issue-43106-gating-of-builtin-attrs.rs:153:10
106 LL | #[forbid(x5200)]
109 warning: unknown lint: `x5200`
110 --> $DIR/issue-43106-gating-of-builtin-attrs.rs:156:27
112 LL | mod inner { #![forbid(x5200)] }
115 warning: unknown lint: `x5200`
116 --> $DIR/issue-43106-gating-of-builtin-attrs.rs:159:14
118 LL | #[forbid(x5200)] fn f() { }
121 warning: unknown lint: `x5200`
122 --> $DIR/issue-43106-gating-of-builtin-attrs.rs:162:14
124 LL | #[forbid(x5200)] struct S;
127 warning: unknown lint: `x5200`
128 --> $DIR/issue-43106-gating-of-builtin-attrs.rs:165:14
130 LL | #[forbid(x5200)] type T = S;
133 warning: unknown lint: `x5200`
134 --> $DIR/issue-43106-gating-of-builtin-attrs.rs:168:14
136 LL | #[forbid(x5200)] impl S { }
139 warning: unknown lint: `x5100`
140 --> $DIR/issue-43106-gating-of-builtin-attrs.rs:172:8
145 warning: unknown lint: `x5100`
146 --> $DIR/issue-43106-gating-of-builtin-attrs.rs:175:25
148 LL | mod inner { #![deny(x5100)] }
151 warning: unknown lint: `x5100`
152 --> $DIR/issue-43106-gating-of-builtin-attrs.rs:178:12
154 LL | #[deny(x5100)] fn f() { }
157 warning: unknown lint: `x5100`
158 --> $DIR/issue-43106-gating-of-builtin-attrs.rs:181:12
160 LL | #[deny(x5100)] struct S;
163 warning: unknown lint: `x5100`
164 --> $DIR/issue-43106-gating-of-builtin-attrs.rs:184:12
166 LL | #[deny(x5100)] type T = S;
169 warning: unknown lint: `x5100`
170 --> $DIR/issue-43106-gating-of-builtin-attrs.rs:187:12
172 LL | #[deny(x5100)] impl S { }
175 warning: macro_escape is a deprecated synonym for macro_use
176 --> $DIR/issue-43106-gating-of-builtin-attrs.rs:500:1
181 warning: macro_escape is a deprecated synonym for macro_use
182 --> $DIR/issue-43106-gating-of-builtin-attrs.rs:503:17
184 LL | mod inner { #![macro_escape] }
187 = help: consider an outer attribute, #[macro_use] mod ...
189 warning: `repr` attribute isn't configurable with a literal
190 --> $DIR/issue-43106-gating-of-builtin-attrs.rs:317:17
192 LL | mod inner { #![repr="3900"] }
193 | ^^^^^^^^^^^^^^^ needs a hint
195 = note: #[warn(bad_repr)] on by default
196 = help: valid hints include `#[repr(C)]`, `#[repr(packed)]`, `#[repr(rust)]` and `#[repr(transparent)]`
197 = note: for more information, visit <https://doc.rust-lang.org/reference/type-layout.html>
199 warning: `repr` attribute isn't configurable with a literal
200 --> $DIR/issue-43106-gating-of-builtin-attrs.rs:321:5
202 LL | #[repr = "3900"] fn f() { }
203 | ^^^^^^^^^^^^^^^^ needs a hint
205 = help: valid hints include `#[repr(C)]`, `#[repr(packed)]`, `#[repr(rust)]` and `#[repr(transparent)]`
206 = note: for more information, visit <https://doc.rust-lang.org/reference/type-layout.html>
208 warning: `repr` attribute isn't configurable with a literal
209 --> $DIR/issue-43106-gating-of-builtin-attrs.rs:327:5
211 LL | #[repr = "3900"] type T = S;
212 | ^^^^^^^^^^^^^^^^ needs a hint
214 = help: valid hints include `#[repr(C)]`, `#[repr(packed)]`, `#[repr(rust)]` and `#[repr(transparent)]`
215 = note: for more information, visit <https://doc.rust-lang.org/reference/type-layout.html>
217 warning: `repr` attribute isn't configurable with a literal
218 --> $DIR/issue-43106-gating-of-builtin-attrs.rs:331:5
220 LL | #[repr = "3900"] impl S { }
221 | ^^^^^^^^^^^^^^^^ needs a hint
223 = help: valid hints include `#[repr(C)]`, `#[repr(packed)]`, `#[repr(rust)]` and `#[repr(transparent)]`
224 = note: for more information, visit <https://doc.rust-lang.org/reference/type-layout.html>
226 warning: `repr` attribute isn't configurable with a literal
227 --> $DIR/issue-43106-gating-of-builtin-attrs.rs:313:1
229 LL | #[repr = "3900"]
230 | ^^^^^^^^^^^^^^^^ needs a hint
232 = help: valid hints include `#[repr(C)]`, `#[repr(packed)]`, `#[repr(rust)]` and `#[repr(transparent)]`
233 = note: for more information, visit <https://doc.rust-lang.org/reference/type-layout.html>
235 warning: `repr` attribute isn't configurable with a literal
236 --> $DIR/issue-43106-gating-of-builtin-attrs.rs:63:1
238 LL | #![repr = "3900"]
239 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ needs a hint
241 = help: valid hints include `#[repr(C)]`, `#[repr(packed)]`, `#[repr(rust)]` and `#[repr(transparent)]`
242 = note: for more information, visit <https://doc.rust-lang.org/reference/type-layout.html>
244 warning: unused attribute
245 --> $DIR/issue-43106-gating-of-builtin-attrs.rs:195:5
247 LL | #[macro_use] fn f() { }
250 note: lint level defined here
251 --> $DIR/issue-43106-gating-of-builtin-attrs.rs:44:9
253 LL | #![warn(unused_attributes, unknown_lints)]
256 warning: unused attribute
257 --> $DIR/issue-43106-gating-of-builtin-attrs.rs:198:5
259 LL | #[macro_use] struct S;
262 warning: unused attribute
263 --> $DIR/issue-43106-gating-of-builtin-attrs.rs:201:5
265 LL | #[macro_use] type T = S;
268 warning: unused attribute
269 --> $DIR/issue-43106-gating-of-builtin-attrs.rs:204:5
271 LL | #[macro_use] impl S { }
274 warning: unused attribute
275 --> $DIR/issue-43106-gating-of-builtin-attrs.rs:211:17
277 LL | mod inner { #![macro_export="4800"] }
278 | ^^^^^^^^^^^^^^^^^^^^^^^
280 warning: unused attribute
281 --> $DIR/issue-43106-gating-of-builtin-attrs.rs:214:5
283 LL | #[macro_export = "4800"] fn f() { }
284 | ^^^^^^^^^^^^^^^^^^^^^^^^
286 warning: unused attribute
287 --> $DIR/issue-43106-gating-of-builtin-attrs.rs:217:5
289 LL | #[macro_export = "4800"] struct S;
290 | ^^^^^^^^^^^^^^^^^^^^^^^^
292 warning: unused attribute
293 --> $DIR/issue-43106-gating-of-builtin-attrs.rs:220:5
295 LL | #[macro_export = "4800"] type T = S;
296 | ^^^^^^^^^^^^^^^^^^^^^^^^
298 warning: unused attribute
299 --> $DIR/issue-43106-gating-of-builtin-attrs.rs:223:5
301 LL | #[macro_export = "4800"] impl S { }
302 | ^^^^^^^^^^^^^^^^^^^^^^^^
304 warning: unused attribute
305 --> $DIR/issue-43106-gating-of-builtin-attrs.rs:208:1
307 LL | #[macro_export = "4800"]
308 | ^^^^^^^^^^^^^^^^^^^^^^^^
310 warning: unused attribute
311 --> $DIR/issue-43106-gating-of-builtin-attrs.rs:230:17
313 LL | mod inner { #![plugin_registrar="4700"] }
314 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^
316 warning: unused attribute
317 --> $DIR/issue-43106-gating-of-builtin-attrs.rs:235:5
319 LL | #[plugin_registrar = "4700"] struct S;
320 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
322 warning: unused attribute
323 --> $DIR/issue-43106-gating-of-builtin-attrs.rs:238:5
325 LL | #[plugin_registrar = "4700"] type T = S;
326 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
328 warning: unused attribute
329 --> $DIR/issue-43106-gating-of-builtin-attrs.rs:241:5
331 LL | #[plugin_registrar = "4700"] impl S { }
332 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
334 warning: unused attribute
335 --> $DIR/issue-43106-gating-of-builtin-attrs.rs:227:1
337 LL | #[plugin_registrar = "4700"]
338 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
340 warning: unused attribute
341 --> $DIR/issue-43106-gating-of-builtin-attrs.rs:248:17
343 LL | mod inner { #![main="4300"] }
346 warning: unused attribute
347 --> $DIR/issue-43106-gating-of-builtin-attrs.rs:253:5
349 LL | #[main = "4400"] struct S;
352 warning: unused attribute
353 --> $DIR/issue-43106-gating-of-builtin-attrs.rs:256:5
355 LL | #[main = "4400"] type T = S;
358 warning: unused attribute
359 --> $DIR/issue-43106-gating-of-builtin-attrs.rs:259:5
361 LL | #[main = "4400"] impl S { }
364 warning: unused attribute
365 --> $DIR/issue-43106-gating-of-builtin-attrs.rs:245:1
367 LL | #[main = "4400"]
370 warning: unused attribute
371 --> $DIR/issue-43106-gating-of-builtin-attrs.rs:266:17
373 LL | mod inner { #![start="4300"] }
376 warning: unused attribute
377 --> $DIR/issue-43106-gating-of-builtin-attrs.rs:271:5
379 LL | #[start = "4300"] struct S;
382 warning: unused attribute
383 --> $DIR/issue-43106-gating-of-builtin-attrs.rs:274:5
385 LL | #[start = "4300"] type T = S;
388 warning: unused attribute
389 --> $DIR/issue-43106-gating-of-builtin-attrs.rs:277:5
391 LL | #[start = "4300"] impl S { }
394 warning: unused attribute
395 --> $DIR/issue-43106-gating-of-builtin-attrs.rs:263:1
397 LL | #[start = "4300"]
400 warning: unused attribute
401 --> $DIR/issue-43106-gating-of-builtin-attrs.rs:317:17
403 LL | mod inner { #![repr="3900"] }
406 warning: unused attribute
407 --> $DIR/issue-43106-gating-of-builtin-attrs.rs:321:5
409 LL | #[repr = "3900"] fn f() { }
412 warning: unused attribute
413 --> $DIR/issue-43106-gating-of-builtin-attrs.rs:327:5
415 LL | #[repr = "3900"] type T = S;
418 warning: unused attribute
419 --> $DIR/issue-43106-gating-of-builtin-attrs.rs:331:5
421 LL | #[repr = "3900"] impl S { }
424 warning: unused attribute
425 --> $DIR/issue-43106-gating-of-builtin-attrs.rs:313:1
427 LL | #[repr = "3900"]
430 warning: unused attribute
431 --> $DIR/issue-43106-gating-of-builtin-attrs.rs:340:5
433 LL | #[path = "3800"] fn f() { }
436 warning: unused attribute
437 --> $DIR/issue-43106-gating-of-builtin-attrs.rs:343:5
439 LL | #[path = "3800"] struct S;
442 warning: unused attribute
443 --> $DIR/issue-43106-gating-of-builtin-attrs.rs:346:5
445 LL | #[path = "3800"] type T = S;
448 warning: unused attribute
449 --> $DIR/issue-43106-gating-of-builtin-attrs.rs:349:5
451 LL | #[path = "3800"] impl S { }
454 warning: unused attribute
455 --> $DIR/issue-43106-gating-of-builtin-attrs.rs:356:17
457 LL | mod inner { #![abi="3700"] }
460 warning: unused attribute
461 --> $DIR/issue-43106-gating-of-builtin-attrs.rs:359:5
463 LL | #[abi = "3700"] fn f() { }
466 warning: unused attribute
467 --> $DIR/issue-43106-gating-of-builtin-attrs.rs:362:5
469 LL | #[abi = "3700"] struct S;
472 warning: unused attribute
473 --> $DIR/issue-43106-gating-of-builtin-attrs.rs:365:5
475 LL | #[abi = "3700"] type T = S;
478 warning: unused attribute
479 --> $DIR/issue-43106-gating-of-builtin-attrs.rs:368:5
481 LL | #[abi = "3700"] impl S { }
484 warning: unused attribute
485 --> $DIR/issue-43106-gating-of-builtin-attrs.rs:353:1
490 warning: unused attribute
491 --> $DIR/issue-43106-gating-of-builtin-attrs.rs:375:17
493 LL | mod inner { #![automatically_derived="3600"] }
494 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
496 warning: unused attribute
497 --> $DIR/issue-43106-gating-of-builtin-attrs.rs:378:5
499 LL | #[automatically_derived = "3600"] fn f() { }
500 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
502 warning: unused attribute
503 --> $DIR/issue-43106-gating-of-builtin-attrs.rs:381:5
505 LL | #[automatically_derived = "3600"] struct S;
506 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
508 warning: unused attribute
509 --> $DIR/issue-43106-gating-of-builtin-attrs.rs:384:5
511 LL | #[automatically_derived = "3600"] type T = S;
512 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
514 warning: unused attribute
515 --> $DIR/issue-43106-gating-of-builtin-attrs.rs:387:5
517 LL | #[automatically_derived = "3600"] impl S { }
518 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
520 warning: unused attribute
521 --> $DIR/issue-43106-gating-of-builtin-attrs.rs:372:1
523 LL | #[automatically_derived = "3600"]
524 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
526 warning: unused attribute
527 --> $DIR/issue-43106-gating-of-builtin-attrs.rs:407:17
529 LL | mod inner { #![no_link="3400"] }
532 warning: unused attribute
533 --> $DIR/issue-43106-gating-of-builtin-attrs.rs:410:5
535 LL | #[no_link = "3400"] fn f() { }
536 | ^^^^^^^^^^^^^^^^^^^
538 warning: unused attribute
539 --> $DIR/issue-43106-gating-of-builtin-attrs.rs:413:5
541 LL | #[no_link = "3400"] struct S;
542 | ^^^^^^^^^^^^^^^^^^^
544 warning: unused attribute
545 --> $DIR/issue-43106-gating-of-builtin-attrs.rs:416:5
547 LL | #[no_link = "3400"]type T = S;
548 | ^^^^^^^^^^^^^^^^^^^
550 warning: unused attribute
551 --> $DIR/issue-43106-gating-of-builtin-attrs.rs:419:5
553 LL | #[no_link = "3400"] impl S { }
554 | ^^^^^^^^^^^^^^^^^^^
556 warning: unused attribute
557 --> $DIR/issue-43106-gating-of-builtin-attrs.rs:404:1
559 LL | #[no_link = "3400"]
560 | ^^^^^^^^^^^^^^^^^^^
562 warning: unused attribute
563 --> $DIR/issue-43106-gating-of-builtin-attrs.rs:426:17
565 LL | mod inner { #![should_panic="3200"] }
566 | ^^^^^^^^^^^^^^^^^^^^^^^
568 warning: unused attribute
569 --> $DIR/issue-43106-gating-of-builtin-attrs.rs:429:5
571 LL | #[should_panic = "3200"] fn f() { }
572 | ^^^^^^^^^^^^^^^^^^^^^^^^
574 warning: unused attribute
575 --> $DIR/issue-43106-gating-of-builtin-attrs.rs:432:5
577 LL | #[should_panic = "3200"] struct S;
578 | ^^^^^^^^^^^^^^^^^^^^^^^^
580 warning: unused attribute
581 --> $DIR/issue-43106-gating-of-builtin-attrs.rs:435:5
583 LL | #[should_panic = "3200"] type T = S;
584 | ^^^^^^^^^^^^^^^^^^^^^^^^
586 warning: unused attribute
587 --> $DIR/issue-43106-gating-of-builtin-attrs.rs:438:5
589 LL | #[should_panic = "3200"] impl S { }
590 | ^^^^^^^^^^^^^^^^^^^^^^^^
592 warning: unused attribute
593 --> $DIR/issue-43106-gating-of-builtin-attrs.rs:423:1
595 LL | #[should_panic = "3200"]
596 | ^^^^^^^^^^^^^^^^^^^^^^^^
598 warning: unused attribute
599 --> $DIR/issue-43106-gating-of-builtin-attrs.rs:445:17
601 LL | mod inner { #![ignore="3100"] }
604 warning: unused attribute
605 --> $DIR/issue-43106-gating-of-builtin-attrs.rs:448:5
607 LL | #[ignore = "3100"] fn f() { }
610 warning: unused attribute
611 --> $DIR/issue-43106-gating-of-builtin-attrs.rs:451:5
613 LL | #[ignore = "3100"] struct S;
616 warning: unused attribute
617 --> $DIR/issue-43106-gating-of-builtin-attrs.rs:454:5
619 LL | #[ignore = "3100"] type T = S;
622 warning: unused attribute
623 --> $DIR/issue-43106-gating-of-builtin-attrs.rs:457:5
625 LL | #[ignore = "3100"] impl S { }
628 warning: unused attribute
629 --> $DIR/issue-43106-gating-of-builtin-attrs.rs:442:1
631 LL | #[ignore = "3100"]
634 warning: unused attribute
635 --> $DIR/issue-43106-gating-of-builtin-attrs.rs:464:17
637 LL | mod inner { #![no_implicit_prelude="3000"] }
638 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
640 warning: unused attribute
641 --> $DIR/issue-43106-gating-of-builtin-attrs.rs:467:5
643 LL | #[no_implicit_prelude = "3000"] fn f() { }
644 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
646 warning: unused attribute
647 --> $DIR/issue-43106-gating-of-builtin-attrs.rs:470:5
649 LL | #[no_implicit_prelude = "3000"] struct S;
650 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
652 warning: unused attribute
653 --> $DIR/issue-43106-gating-of-builtin-attrs.rs:473:5
655 LL | #[no_implicit_prelude = "3000"] type T = S;
656 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
658 warning: unused attribute
659 --> $DIR/issue-43106-gating-of-builtin-attrs.rs:476:5
661 LL | #[no_implicit_prelude = "3000"] impl S { }
662 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
664 warning: unused attribute
665 --> $DIR/issue-43106-gating-of-builtin-attrs.rs:461:1
667 LL | #[no_implicit_prelude = "3000"]
668 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
670 warning: unused attribute
671 --> $DIR/issue-43106-gating-of-builtin-attrs.rs:483:17
673 LL | mod inner { #![reexport_test_harness_main="2900"] }
674 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
676 warning: unused attribute
677 --> $DIR/issue-43106-gating-of-builtin-attrs.rs:486:5
679 LL | #[reexport_test_harness_main = "2900"] fn f() { }
680 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
682 warning: unused attribute
683 --> $DIR/issue-43106-gating-of-builtin-attrs.rs:489:5
685 LL | #[reexport_test_harness_main = "2900"] struct S;
686 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
688 warning: unused attribute
689 --> $DIR/issue-43106-gating-of-builtin-attrs.rs:492:5
691 LL | #[reexport_test_harness_main = "2900"] type T = S;
692 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
694 warning: unused attribute
695 --> $DIR/issue-43106-gating-of-builtin-attrs.rs:495:5
697 LL | #[reexport_test_harness_main = "2900"] impl S { }
698 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
700 warning: unused attribute
701 --> $DIR/issue-43106-gating-of-builtin-attrs.rs:480:1
703 LL | #[reexport_test_harness_main = "2900"]
704 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
706 warning: unused attribute
707 --> $DIR/issue-43106-gating-of-builtin-attrs.rs:506:5
709 LL | #[macro_escape] fn f() { }
712 warning: unused attribute
713 --> $DIR/issue-43106-gating-of-builtin-attrs.rs:509:5
715 LL | #[macro_escape] struct S;
718 warning: unused attribute
719 --> $DIR/issue-43106-gating-of-builtin-attrs.rs:512:5
721 LL | #[macro_escape] type T = S;
724 warning: unused attribute
725 --> $DIR/issue-43106-gating-of-builtin-attrs.rs:515:5
727 LL | #[macro_escape] impl S { }
730 warning: unused attribute
731 --> $DIR/issue-43106-gating-of-builtin-attrs.rs:523:17
733 LL | mod inner { #![no_std="2600"] }
736 warning: crate-level attribute should be in the root module
737 --> $DIR/issue-43106-gating-of-builtin-attrs.rs:523:17
739 LL | mod inner { #![no_std="2600"] }
742 warning: unused attribute
743 --> $DIR/issue-43106-gating-of-builtin-attrs.rs:527:5
745 LL | #[no_std = "2600"] fn f() { }
748 warning: crate-level attribute should be an inner attribute: add an exclamation mark: #![foo]
749 --> $DIR/issue-43106-gating-of-builtin-attrs.rs:527:5
751 LL | #[no_std = "2600"] fn f() { }
754 warning: unused attribute
755 --> $DIR/issue-43106-gating-of-builtin-attrs.rs:531:5
757 LL | #[no_std = "2600"] struct S;
760 warning: crate-level attribute should be an inner attribute: add an exclamation mark: #![foo]
761 --> $DIR/issue-43106-gating-of-builtin-attrs.rs:531:5
763 LL | #[no_std = "2600"] struct S;
766 warning: unused attribute
767 --> $DIR/issue-43106-gating-of-builtin-attrs.rs:535:5
769 LL | #[no_std = "2600"] type T = S;
772 warning: crate-level attribute should be an inner attribute: add an exclamation mark: #![foo]
773 --> $DIR/issue-43106-gating-of-builtin-attrs.rs:535:5
775 LL | #[no_std = "2600"] type T = S;
778 warning: unused attribute
779 --> $DIR/issue-43106-gating-of-builtin-attrs.rs:539:5
781 LL | #[no_std = "2600"] impl S { }
784 warning: crate-level attribute should be an inner attribute: add an exclamation mark: #![foo]
785 --> $DIR/issue-43106-gating-of-builtin-attrs.rs:539:5
787 LL | #[no_std = "2600"] impl S { }
790 warning: unused attribute
791 --> $DIR/issue-43106-gating-of-builtin-attrs.rs:519:1
793 LL | #[no_std = "2600"]
796 warning: crate-level attribute should be an inner attribute: add an exclamation mark: #![foo]
797 --> $DIR/issue-43106-gating-of-builtin-attrs.rs:519:1
799 LL | #[no_std = "2600"]
802 warning: unused attribute
803 --> $DIR/issue-43106-gating-of-builtin-attrs.rs:678:17
805 LL | mod inner { #![crate_name="0900"] }
806 | ^^^^^^^^^^^^^^^^^^^^^
808 warning: crate-level attribute should be in the root module
809 --> $DIR/issue-43106-gating-of-builtin-attrs.rs:678:17
811 LL | mod inner { #![crate_name="0900"] }
812 | ^^^^^^^^^^^^^^^^^^^^^
814 warning: unused attribute
815 --> $DIR/issue-43106-gating-of-builtin-attrs.rs:682:5
817 LL | #[crate_name = "0900"] fn f() { }
818 | ^^^^^^^^^^^^^^^^^^^^^^
820 warning: crate-level attribute should be an inner attribute: add an exclamation mark: #![foo]
821 --> $DIR/issue-43106-gating-of-builtin-attrs.rs:682:5
823 LL | #[crate_name = "0900"] fn f() { }
824 | ^^^^^^^^^^^^^^^^^^^^^^
826 warning: unused attribute
827 --> $DIR/issue-43106-gating-of-builtin-attrs.rs:686:5
829 LL | #[crate_name = "0900"] struct S;
830 | ^^^^^^^^^^^^^^^^^^^^^^
832 warning: crate-level attribute should be an inner attribute: add an exclamation mark: #![foo]
833 --> $DIR/issue-43106-gating-of-builtin-attrs.rs:686:5
835 LL | #[crate_name = "0900"] struct S;
836 | ^^^^^^^^^^^^^^^^^^^^^^
838 warning: unused attribute
839 --> $DIR/issue-43106-gating-of-builtin-attrs.rs:690:5
841 LL | #[crate_name = "0900"] type T = S;
842 | ^^^^^^^^^^^^^^^^^^^^^^
844 warning: crate-level attribute should be an inner attribute: add an exclamation mark: #![foo]
845 --> $DIR/issue-43106-gating-of-builtin-attrs.rs:690:5
847 LL | #[crate_name = "0900"] type T = S;
848 | ^^^^^^^^^^^^^^^^^^^^^^
850 warning: unused attribute
851 --> $DIR/issue-43106-gating-of-builtin-attrs.rs:694:5
853 LL | #[crate_name = "0900"] impl S { }
854 | ^^^^^^^^^^^^^^^^^^^^^^
856 warning: crate-level attribute should be an inner attribute: add an exclamation mark: #![foo]
857 --> $DIR/issue-43106-gating-of-builtin-attrs.rs:694:5
859 LL | #[crate_name = "0900"] impl S { }
860 | ^^^^^^^^^^^^^^^^^^^^^^
862 warning: unused attribute
863 --> $DIR/issue-43106-gating-of-builtin-attrs.rs:674:1
865 LL | #[crate_name = "0900"]
866 | ^^^^^^^^^^^^^^^^^^^^^^
868 warning: crate-level attribute should be an inner attribute: add an exclamation mark: #![foo]
869 --> $DIR/issue-43106-gating-of-builtin-attrs.rs:674:1
871 LL | #[crate_name = "0900"]
872 | ^^^^^^^^^^^^^^^^^^^^^^
874 warning: unused attribute
875 --> $DIR/issue-43106-gating-of-builtin-attrs.rs:703:17
877 LL | mod inner { #![crate_type="0800"] }
878 | ^^^^^^^^^^^^^^^^^^^^^
880 warning: crate-level attribute should be in the root module
881 --> $DIR/issue-43106-gating-of-builtin-attrs.rs:703:17
883 LL | mod inner { #![crate_type="0800"] }
884 | ^^^^^^^^^^^^^^^^^^^^^
886 warning: unused attribute
887 --> $DIR/issue-43106-gating-of-builtin-attrs.rs:707:5
889 LL | #[crate_type = "0800"] fn f() { }
890 | ^^^^^^^^^^^^^^^^^^^^^^
892 warning: crate-level attribute should be an inner attribute: add an exclamation mark: #![foo]
893 --> $DIR/issue-43106-gating-of-builtin-attrs.rs:707:5
895 LL | #[crate_type = "0800"] fn f() { }
896 | ^^^^^^^^^^^^^^^^^^^^^^
898 warning: unused attribute
899 --> $DIR/issue-43106-gating-of-builtin-attrs.rs:711:5
901 LL | #[crate_type = "0800"] struct S;
902 | ^^^^^^^^^^^^^^^^^^^^^^
904 warning: crate-level attribute should be an inner attribute: add an exclamation mark: #![foo]
905 --> $DIR/issue-43106-gating-of-builtin-attrs.rs:711:5
907 LL | #[crate_type = "0800"] struct S;
908 | ^^^^^^^^^^^^^^^^^^^^^^
910 warning: unused attribute
911 --> $DIR/issue-43106-gating-of-builtin-attrs.rs:715:5
913 LL | #[crate_type = "0800"] type T = S;
914 | ^^^^^^^^^^^^^^^^^^^^^^
916 warning: crate-level attribute should be an inner attribute: add an exclamation mark: #![foo]
917 --> $DIR/issue-43106-gating-of-builtin-attrs.rs:715:5
919 LL | #[crate_type = "0800"] type T = S;
920 | ^^^^^^^^^^^^^^^^^^^^^^
922 warning: unused attribute
923 --> $DIR/issue-43106-gating-of-builtin-attrs.rs:719:5
925 LL | #[crate_type = "0800"] impl S { }
926 | ^^^^^^^^^^^^^^^^^^^^^^
928 warning: crate-level attribute should be an inner attribute: add an exclamation mark: #![foo]
929 --> $DIR/issue-43106-gating-of-builtin-attrs.rs:719:5
931 LL | #[crate_type = "0800"] impl S { }
932 | ^^^^^^^^^^^^^^^^^^^^^^
934 warning: unused attribute
935 --> $DIR/issue-43106-gating-of-builtin-attrs.rs:699:1
937 LL | #[crate_type = "0800"]
938 | ^^^^^^^^^^^^^^^^^^^^^^
940 warning: crate-level attribute should be an inner attribute: add an exclamation mark: #![foo]
941 --> $DIR/issue-43106-gating-of-builtin-attrs.rs:699:1
943 LL | #[crate_type = "0800"]
944 | ^^^^^^^^^^^^^^^^^^^^^^
946 warning: unused attribute
947 --> $DIR/issue-43106-gating-of-builtin-attrs.rs:728:17
949 LL | mod inner { #![feature(x0600)] }
952 warning: crate-level attribute should be in the root module
953 --> $DIR/issue-43106-gating-of-builtin-attrs.rs:728:17
955 LL | mod inner { #![feature(x0600)] }
958 warning: unused attribute
959 --> $DIR/issue-43106-gating-of-builtin-attrs.rs:732:5
961 LL | #[feature(x0600)] fn f() { }
964 warning: crate-level attribute should be an inner attribute: add an exclamation mark: #![foo]
965 --> $DIR/issue-43106-gating-of-builtin-attrs.rs:732:5
967 LL | #[feature(x0600)] fn f() { }
970 warning: unused attribute
971 --> $DIR/issue-43106-gating-of-builtin-attrs.rs:736:5
973 LL | #[feature(x0600)] struct S;
976 warning: crate-level attribute should be an inner attribute: add an exclamation mark: #![foo]
977 --> $DIR/issue-43106-gating-of-builtin-attrs.rs:736:5
979 LL | #[feature(x0600)] struct S;
982 warning: unused attribute
983 --> $DIR/issue-43106-gating-of-builtin-attrs.rs:740:5
985 LL | #[feature(x0600)] type T = S;
988 warning: crate-level attribute should be an inner attribute: add an exclamation mark: #![foo]
989 --> $DIR/issue-43106-gating-of-builtin-attrs.rs:740:5
991 LL | #[feature(x0600)] type T = S;
994 warning: unused attribute
995 --> $DIR/issue-43106-gating-of-builtin-attrs.rs:744:5
997 LL | #[feature(x0600)] impl S { }
1000 warning: crate-level attribute should be an inner attribute: add an exclamation mark: #![foo]
1001 --> $DIR/issue-43106-gating-of-builtin-attrs.rs:744:5
1003 LL | #[feature(x0600)] impl S { }
1006 warning: unused attribute
1007 --> $DIR/issue-43106-gating-of-builtin-attrs.rs:724:1
1009 LL | #[feature(x0600)]
1012 warning: crate-level attribute should be an inner attribute: add an exclamation mark: #![foo]
1013 --> $DIR/issue-43106-gating-of-builtin-attrs.rs:724:1
1015 LL | #[feature(x0600)]
1018 warning: unused attribute
1019 --> $DIR/issue-43106-gating-of-builtin-attrs.rs:754:17
1021 LL | mod inner { #![no_main="0400"] }
1022 | ^^^^^^^^^^^^^^^^^^
1024 warning: crate-level attribute should be in the root module
1025 --> $DIR/issue-43106-gating-of-builtin-attrs.rs:754:17
1027 LL | mod inner { #![no_main="0400"] }
1028 | ^^^^^^^^^^^^^^^^^^
1030 warning: unused attribute
1031 --> $DIR/issue-43106-gating-of-builtin-attrs.rs:758:5
1033 LL | #[no_main = "0400"] fn f() { }
1034 | ^^^^^^^^^^^^^^^^^^^
1036 warning: crate-level attribute should be an inner attribute: add an exclamation mark: #![foo]
1037 --> $DIR/issue-43106-gating-of-builtin-attrs.rs:758:5
1039 LL | #[no_main = "0400"] fn f() { }
1040 | ^^^^^^^^^^^^^^^^^^^
1042 warning: unused attribute
1043 --> $DIR/issue-43106-gating-of-builtin-attrs.rs:762:5
1045 LL | #[no_main = "0400"] struct S;
1046 | ^^^^^^^^^^^^^^^^^^^
1048 warning: crate-level attribute should be an inner attribute: add an exclamation mark: #![foo]
1049 --> $DIR/issue-43106-gating-of-builtin-attrs.rs:762:5
1051 LL | #[no_main = "0400"] struct S;
1052 | ^^^^^^^^^^^^^^^^^^^
1054 warning: unused attribute
1055 --> $DIR/issue-43106-gating-of-builtin-attrs.rs:766:5
1057 LL | #[no_main = "0400"] type T = S;
1058 | ^^^^^^^^^^^^^^^^^^^
1060 warning: crate-level attribute should be an inner attribute: add an exclamation mark: #![foo]
1061 --> $DIR/issue-43106-gating-of-builtin-attrs.rs:766:5
1063 LL | #[no_main = "0400"] type T = S;
1064 | ^^^^^^^^^^^^^^^^^^^
1066 warning: unused attribute
1067 --> $DIR/issue-43106-gating-of-builtin-attrs.rs:770:5
1069 LL | #[no_main = "0400"] impl S { }
1070 | ^^^^^^^^^^^^^^^^^^^
1072 warning: crate-level attribute should be an inner attribute: add an exclamation mark: #![foo]
1073 --> $DIR/issue-43106-gating-of-builtin-attrs.rs:770:5
1075 LL | #[no_main = "0400"] impl S { }
1076 | ^^^^^^^^^^^^^^^^^^^
1078 warning: unused attribute
1079 --> $DIR/issue-43106-gating-of-builtin-attrs.rs:750:1
1081 LL | #[no_main = "0400"]
1082 | ^^^^^^^^^^^^^^^^^^^
1084 warning: crate-level attribute should be an inner attribute: add an exclamation mark: #![foo]
1085 --> $DIR/issue-43106-gating-of-builtin-attrs.rs:750:1
1087 LL | #[no_main = "0400"]
1088 | ^^^^^^^^^^^^^^^^^^^
1090 warning: unused attribute
1091 --> $DIR/issue-43106-gating-of-builtin-attrs.rs:792:17
1093 LL | mod inner { #![recursion_limit="0200"] }
1094 | ^^^^^^^^^^^^^^^^^^^^^^^^^^
1096 warning: crate-level attribute should be in the root module
1097 --> $DIR/issue-43106-gating-of-builtin-attrs.rs:792:17
1099 LL | mod inner { #![recursion_limit="0200"] }
1100 | ^^^^^^^^^^^^^^^^^^^^^^^^^^
1102 warning: unused attribute
1103 --> $DIR/issue-43106-gating-of-builtin-attrs.rs:796:5
1105 LL | #[recursion_limit="0200"] fn f() { }
1106 | ^^^^^^^^^^^^^^^^^^^^^^^^^
1108 warning: crate-level attribute should be an inner attribute: add an exclamation mark: #![foo]
1109 --> $DIR/issue-43106-gating-of-builtin-attrs.rs:796:5
1111 LL | #[recursion_limit="0200"] fn f() { }
1112 | ^^^^^^^^^^^^^^^^^^^^^^^^^
1114 warning: unused attribute
1115 --> $DIR/issue-43106-gating-of-builtin-attrs.rs:800:5
1117 LL | #[recursion_limit="0200"] struct S;
1118 | ^^^^^^^^^^^^^^^^^^^^^^^^^
1120 warning: crate-level attribute should be an inner attribute: add an exclamation mark: #![foo]
1121 --> $DIR/issue-43106-gating-of-builtin-attrs.rs:800:5
1123 LL | #[recursion_limit="0200"] struct S;
1124 | ^^^^^^^^^^^^^^^^^^^^^^^^^
1126 warning: unused attribute
1127 --> $DIR/issue-43106-gating-of-builtin-attrs.rs:804:5
1129 LL | #[recursion_limit="0200"] type T = S;
1130 | ^^^^^^^^^^^^^^^^^^^^^^^^^
1132 warning: crate-level attribute should be an inner attribute: add an exclamation mark: #![foo]
1133 --> $DIR/issue-43106-gating-of-builtin-attrs.rs:804:5
1135 LL | #[recursion_limit="0200"] type T = S;
1136 | ^^^^^^^^^^^^^^^^^^^^^^^^^
1138 warning: unused attribute
1139 --> $DIR/issue-43106-gating-of-builtin-attrs.rs:808:5
1141 LL | #[recursion_limit="0200"] impl S { }
1142 | ^^^^^^^^^^^^^^^^^^^^^^^^^
1144 warning: crate-level attribute should be an inner attribute: add an exclamation mark: #![foo]
1145 --> $DIR/issue-43106-gating-of-builtin-attrs.rs:808:5
1147 LL | #[recursion_limit="0200"] impl S { }
1148 | ^^^^^^^^^^^^^^^^^^^^^^^^^
1150 warning: unused attribute
1151 --> $DIR/issue-43106-gating-of-builtin-attrs.rs:788:1
1153 LL | #[recursion_limit="0200"]
1154 | ^^^^^^^^^^^^^^^^^^^^^^^^^
1156 warning: crate-level attribute should be an inner attribute: add an exclamation mark: #![foo]
1157 --> $DIR/issue-43106-gating-of-builtin-attrs.rs:788:1
1159 LL | #[recursion_limit="0200"]
1160 | ^^^^^^^^^^^^^^^^^^^^^^^^^
1162 warning: unused attribute
1163 --> $DIR/issue-43106-gating-of-builtin-attrs.rs:817:17
1165 LL | mod inner { #![type_length_limit="0100"] }
1166 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
1168 warning: crate-level attribute should be in the root module
1169 --> $DIR/issue-43106-gating-of-builtin-attrs.rs:817:17
1171 LL | mod inner { #![type_length_limit="0100"] }
1172 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
1174 warning: unused attribute
1175 --> $DIR/issue-43106-gating-of-builtin-attrs.rs:821:5
1177 LL | #[type_length_limit="0100"] fn f() { }
1178 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^
1180 warning: crate-level attribute should be an inner attribute: add an exclamation mark: #![foo]
1181 --> $DIR/issue-43106-gating-of-builtin-attrs.rs:821:5
1183 LL | #[type_length_limit="0100"] fn f() { }
1184 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^
1186 warning: unused attribute
1187 --> $DIR/issue-43106-gating-of-builtin-attrs.rs:825:5
1189 LL | #[type_length_limit="0100"] struct S;
1190 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^
1192 warning: crate-level attribute should be an inner attribute: add an exclamation mark: #![foo]
1193 --> $DIR/issue-43106-gating-of-builtin-attrs.rs:825:5
1195 LL | #[type_length_limit="0100"] struct S;
1196 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^
1198 warning: unused attribute
1199 --> $DIR/issue-43106-gating-of-builtin-attrs.rs:829:5
1201 LL | #[type_length_limit="0100"] type T = S;
1202 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^
1204 warning: crate-level attribute should be an inner attribute: add an exclamation mark: #![foo]
1205 --> $DIR/issue-43106-gating-of-builtin-attrs.rs:829:5
1207 LL | #[type_length_limit="0100"] type T = S;
1208 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^
1210 warning: unused attribute
1211 --> $DIR/issue-43106-gating-of-builtin-attrs.rs:833:5
1213 LL | #[type_length_limit="0100"] impl S { }
1214 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^
1216 warning: crate-level attribute should be an inner attribute: add an exclamation mark: #![foo]
1217 --> $DIR/issue-43106-gating-of-builtin-attrs.rs:833:5
1219 LL | #[type_length_limit="0100"] impl S { }
1220 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^
1222 warning: unused attribute
1223 --> $DIR/issue-43106-gating-of-builtin-attrs.rs:813:1
1225 LL | #[type_length_limit="0100"]
1226 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^
1228 warning: crate-level attribute should be an inner attribute: add an exclamation mark: #![foo]
1229 --> $DIR/issue-43106-gating-of-builtin-attrs.rs:813:1
1231 LL | #[type_length_limit="0100"]
1232 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^
1234 warning: unused attribute
1235 --> $DIR/issue-43106-gating-of-builtin-attrs.rs:55:1
1237 LL | #![macro_export = "4800"] //~ WARN unused attribute
1238 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
1240 warning: unused attribute
1241 --> $DIR/issue-43106-gating-of-builtin-attrs.rs:56:1
1243 LL | #![plugin_registrar = "4700"] //~ WARN unused attribute
1244 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
1246 warning: unused attribute
1247 --> $DIR/issue-43106-gating-of-builtin-attrs.rs:59:1
1249 LL | #![main = "x4400"] //~ WARN unused attribute
1250 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
1252 warning: unused attribute
1253 --> $DIR/issue-43106-gating-of-builtin-attrs.rs:60:1
1255 LL | #![start = "x4300"] //~ WARN unused attribute
1256 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
1258 warning: unused attribute
1259 --> $DIR/issue-43106-gating-of-builtin-attrs.rs:63:1
1261 LL | #![repr = "3900"]
1262 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
1264 warning: unused attribute
1265 --> $DIR/issue-43106-gating-of-builtin-attrs.rs:66:1
1267 LL | #![path = "3800"] //~ WARN unused attribute
1268 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
1270 warning: unused attribute
1271 --> $DIR/issue-43106-gating-of-builtin-attrs.rs:67:1
1273 LL | #![abi = "3700"] //~ WARN unused attribute
1274 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
1276 warning: unused attribute
1277 --> $DIR/issue-43106-gating-of-builtin-attrs.rs:68:1
1279 LL | #![automatically_derived = "3600"] //~ WARN unused attribute
1280 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
1282 warning: unused attribute
1283 --> $DIR/issue-43106-gating-of-builtin-attrs.rs:70:1
1285 LL | #![no_link = "3400"] //~ WARN unused attribute
1286 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
1288 warning: unused attribute
1289 --> $DIR/issue-43106-gating-of-builtin-attrs.rs:72:1
1291 LL | #![should_panic = "3200"] //~ WARN unused attribute
1292 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
1294 warning: unused attribute
1295 --> $DIR/issue-43106-gating-of-builtin-attrs.rs:73:1
1297 LL | #![ignore = "3100"] //~ WARN unused attribute
1298 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
1300 warning: unused attribute
1301 --> $DIR/issue-43106-gating-of-builtin-attrs.rs:79:1
1303 LL | #![proc_macro_derive = "2500"] //~ WARN unused attribute
1304 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
1306 error: compilation successful
1307 --> $DIR/issue-43106-gating-of-builtin-attrs.rs:844:1
1309 LL | / fn main() { //~ ERROR compilation successful
1310 LL | | println!("Hello World");
1314 error: aborting due to previous error