@@ -328,37 +328,49 @@ LL | | }
328328 = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
329329
330330warning: crate-level attribute should be an inner attribute: add an exclamation mark: `#![foo]`
331- --> $DIR/issue-43106-gating-of-builtin-attrs.rs:628:1
331+ --> $DIR/issue-43106-gating-of-builtin-attrs.rs:613:1
332+ |
333+ LL | #[windows_subsystem = "windows"]
334+ | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
335+
336+ warning: crate-level attribute should be an inner attribute: add an exclamation mark: `#![foo]`
337+ --> $DIR/issue-43106-gating-of-builtin-attrs.rs:634:1
332338 |
333339LL | #[crate_name = "0900"]
334340 | ^^^^^^^^^^^^^^^^^^^^^^
335341
336342warning: crate-level attribute should be an inner attribute: add an exclamation mark: `#![foo]`
337- --> $DIR/issue-43106-gating-of-builtin-attrs.rs:647 :1
343+ --> $DIR/issue-43106-gating-of-builtin-attrs.rs:653 :1
338344 |
339345LL | #[crate_type = "0800"]
340346 | ^^^^^^^^^^^^^^^^^^^^^^
341347
342348warning: crate-level attribute should be an inner attribute: add an exclamation mark: `#![foo]`
343- --> $DIR/issue-43106-gating-of-builtin-attrs.rs:666 :1
349+ --> $DIR/issue-43106-gating-of-builtin-attrs.rs:672 :1
344350 |
345351LL | #[feature(x0600)]
346352 | ^^^^^^^^^^^^^^^^^
347353
348354warning: crate-level attribute should be an inner attribute: add an exclamation mark: `#![foo]`
349- --> $DIR/issue-43106-gating-of-builtin-attrs.rs:686 :1
355+ --> $DIR/issue-43106-gating-of-builtin-attrs.rs:692 :1
350356 |
351357LL | #[no_main]
352358 | ^^^^^^^^^^
353359
354360warning: crate-level attribute should be an inner attribute: add an exclamation mark: `#![foo]`
355- --> $DIR/issue-43106-gating-of-builtin-attrs.rs:718:1
361+ --> $DIR/issue-43106-gating-of-builtin-attrs.rs:711:1
362+ |
363+ LL | #[no_builtins]
364+ | ^^^^^^^^^^^^^^
365+
366+ warning: crate-level attribute should be an inner attribute: add an exclamation mark: `#![foo]`
367+ --> $DIR/issue-43106-gating-of-builtin-attrs.rs:730:1
356368 |
357369LL | #[recursion_limit="0200"]
358370 | ^^^^^^^^^^^^^^^^^^^^^^^^^
359371
360372warning: crate-level attribute should be an inner attribute: add an exclamation mark: `#![foo]`
361- --> $DIR/issue-43106-gating-of-builtin-attrs.rs:737 :1
373+ --> $DIR/issue-43106-gating-of-builtin-attrs.rs:749 :1
362374 |
363375LL | #[type_length_limit="0100"]
364376 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^
@@ -880,181 +892,241 @@ LL | #[link()] impl S { }
880892 = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
881893
882894warning: crate-level attribute should be in the root module
883- --> $DIR/issue-43106-gating-of-builtin-attrs.rs:631:17
895+ --> $DIR/issue-43106-gating-of-builtin-attrs.rs:616:17
896+ |
897+ LL | mod inner { #![windows_subsystem="windows"] }
898+ | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
899+
900+ warning: crate-level attribute should be an inner attribute: add an exclamation mark: `#![foo]`
901+ --> $DIR/issue-43106-gating-of-builtin-attrs.rs:619:5
902+ |
903+ LL | #[windows_subsystem = "windows"] fn f() { }
904+ | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
905+
906+ warning: crate-level attribute should be an inner attribute: add an exclamation mark: `#![foo]`
907+ --> $DIR/issue-43106-gating-of-builtin-attrs.rs:622:5
908+ |
909+ LL | #[windows_subsystem = "windows"] struct S;
910+ | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
911+
912+ warning: crate-level attribute should be an inner attribute: add an exclamation mark: `#![foo]`
913+ --> $DIR/issue-43106-gating-of-builtin-attrs.rs:625:5
914+ |
915+ LL | #[windows_subsystem = "windows"] type T = S;
916+ | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
917+
918+ warning: crate-level attribute should be an inner attribute: add an exclamation mark: `#![foo]`
919+ --> $DIR/issue-43106-gating-of-builtin-attrs.rs:628:5
920+ |
921+ LL | #[windows_subsystem = "windows"] impl S { }
922+ | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
923+
924+ warning: crate-level attribute should be in the root module
925+ --> $DIR/issue-43106-gating-of-builtin-attrs.rs:637:17
884926 |
885927LL | mod inner { #![crate_name="0900"] }
886928 | ^^^^^^^^^^^^^^^^^^^^^
887929
888930warning: crate-level attribute should be an inner attribute: add an exclamation mark: `#![foo]`
889- --> $DIR/issue-43106-gating-of-builtin-attrs.rs:634 :5
931+ --> $DIR/issue-43106-gating-of-builtin-attrs.rs:640 :5
890932 |
891933LL | #[crate_name = "0900"] fn f() { }
892934 | ^^^^^^^^^^^^^^^^^^^^^^
893935
894936warning: crate-level attribute should be an inner attribute: add an exclamation mark: `#![foo]`
895- --> $DIR/issue-43106-gating-of-builtin-attrs.rs:637 :5
937+ --> $DIR/issue-43106-gating-of-builtin-attrs.rs:643 :5
896938 |
897939LL | #[crate_name = "0900"] struct S;
898940 | ^^^^^^^^^^^^^^^^^^^^^^
899941
900942warning: crate-level attribute should be an inner attribute: add an exclamation mark: `#![foo]`
901- --> $DIR/issue-43106-gating-of-builtin-attrs.rs:640 :5
943+ --> $DIR/issue-43106-gating-of-builtin-attrs.rs:646 :5
902944 |
903945LL | #[crate_name = "0900"] type T = S;
904946 | ^^^^^^^^^^^^^^^^^^^^^^
905947
906948warning: crate-level attribute should be an inner attribute: add an exclamation mark: `#![foo]`
907- --> $DIR/issue-43106-gating-of-builtin-attrs.rs:643 :5
949+ --> $DIR/issue-43106-gating-of-builtin-attrs.rs:649 :5
908950 |
909951LL | #[crate_name = "0900"] impl S { }
910952 | ^^^^^^^^^^^^^^^^^^^^^^
911953
912954warning: crate-level attribute should be in the root module
913- --> $DIR/issue-43106-gating-of-builtin-attrs.rs:650 :17
955+ --> $DIR/issue-43106-gating-of-builtin-attrs.rs:656 :17
914956 |
915957LL | mod inner { #![crate_type="0800"] }
916958 | ^^^^^^^^^^^^^^^^^^^^^
917959
918960warning: crate-level attribute should be an inner attribute: add an exclamation mark: `#![foo]`
919- --> $DIR/issue-43106-gating-of-builtin-attrs.rs:653 :5
961+ --> $DIR/issue-43106-gating-of-builtin-attrs.rs:659 :5
920962 |
921963LL | #[crate_type = "0800"] fn f() { }
922964 | ^^^^^^^^^^^^^^^^^^^^^^
923965
924966warning: crate-level attribute should be an inner attribute: add an exclamation mark: `#![foo]`
925- --> $DIR/issue-43106-gating-of-builtin-attrs.rs:656 :5
967+ --> $DIR/issue-43106-gating-of-builtin-attrs.rs:662 :5
926968 |
927969LL | #[crate_type = "0800"] struct S;
928970 | ^^^^^^^^^^^^^^^^^^^^^^
929971
930972warning: crate-level attribute should be an inner attribute: add an exclamation mark: `#![foo]`
931- --> $DIR/issue-43106-gating-of-builtin-attrs.rs:659 :5
973+ --> $DIR/issue-43106-gating-of-builtin-attrs.rs:665 :5
932974 |
933975LL | #[crate_type = "0800"] type T = S;
934976 | ^^^^^^^^^^^^^^^^^^^^^^
935977
936978warning: crate-level attribute should be an inner attribute: add an exclamation mark: `#![foo]`
937- --> $DIR/issue-43106-gating-of-builtin-attrs.rs:662 :5
979+ --> $DIR/issue-43106-gating-of-builtin-attrs.rs:668 :5
938980 |
939981LL | #[crate_type = "0800"] impl S { }
940982 | ^^^^^^^^^^^^^^^^^^^^^^
941983
942984warning: crate-level attribute should be in the root module
943- --> $DIR/issue-43106-gating-of-builtin-attrs.rs:669 :17
985+ --> $DIR/issue-43106-gating-of-builtin-attrs.rs:675 :17
944986 |
945987LL | mod inner { #![feature(x0600)] }
946988 | ^^^^^^^^^^^^^^^^^^
947989
948990warning: crate-level attribute should be an inner attribute: add an exclamation mark: `#![foo]`
949- --> $DIR/issue-43106-gating-of-builtin-attrs.rs:672 :5
991+ --> $DIR/issue-43106-gating-of-builtin-attrs.rs:678 :5
950992 |
951993LL | #[feature(x0600)] fn f() { }
952994 | ^^^^^^^^^^^^^^^^^
953995
954996warning: crate-level attribute should be an inner attribute: add an exclamation mark: `#![foo]`
955- --> $DIR/issue-43106-gating-of-builtin-attrs.rs:675 :5
997+ --> $DIR/issue-43106-gating-of-builtin-attrs.rs:681 :5
956998 |
957999LL | #[feature(x0600)] struct S;
9581000 | ^^^^^^^^^^^^^^^^^
9591001
9601002warning: crate-level attribute should be an inner attribute: add an exclamation mark: `#![foo]`
961- --> $DIR/issue-43106-gating-of-builtin-attrs.rs:678 :5
1003+ --> $DIR/issue-43106-gating-of-builtin-attrs.rs:684 :5
9621004 |
9631005LL | #[feature(x0600)] type T = S;
9641006 | ^^^^^^^^^^^^^^^^^
9651007
9661008warning: crate-level attribute should be an inner attribute: add an exclamation mark: `#![foo]`
967- --> $DIR/issue-43106-gating-of-builtin-attrs.rs:681 :5
1009+ --> $DIR/issue-43106-gating-of-builtin-attrs.rs:687 :5
9681010 |
9691011LL | #[feature(x0600)] impl S { }
9701012 | ^^^^^^^^^^^^^^^^^
9711013
9721014warning: crate-level attribute should be in the root module
973- --> $DIR/issue-43106-gating-of-builtin-attrs.rs:689 :17
1015+ --> $DIR/issue-43106-gating-of-builtin-attrs.rs:695 :17
9741016 |
9751017LL | mod inner { #![no_main] }
9761018 | ^^^^^^^^^^^
9771019
9781020warning: crate-level attribute should be an inner attribute: add an exclamation mark: `#![foo]`
979- --> $DIR/issue-43106-gating-of-builtin-attrs.rs:692 :5
1021+ --> $DIR/issue-43106-gating-of-builtin-attrs.rs:698 :5
9801022 |
9811023LL | #[no_main] fn f() { }
9821024 | ^^^^^^^^^^
9831025
9841026warning: crate-level attribute should be an inner attribute: add an exclamation mark: `#![foo]`
985- --> $DIR/issue-43106-gating-of-builtin-attrs.rs:695 :5
1027+ --> $DIR/issue-43106-gating-of-builtin-attrs.rs:701 :5
9861028 |
9871029LL | #[no_main] struct S;
9881030 | ^^^^^^^^^^
9891031
9901032warning: crate-level attribute should be an inner attribute: add an exclamation mark: `#![foo]`
991- --> $DIR/issue-43106-gating-of-builtin-attrs.rs:698 :5
1033+ --> $DIR/issue-43106-gating-of-builtin-attrs.rs:704 :5
9921034 |
9931035LL | #[no_main] type T = S;
9941036 | ^^^^^^^^^^
9951037
9961038warning: crate-level attribute should be an inner attribute: add an exclamation mark: `#![foo]`
997- --> $DIR/issue-43106-gating-of-builtin-attrs.rs:701 :5
1039+ --> $DIR/issue-43106-gating-of-builtin-attrs.rs:707 :5
9981040 |
9991041LL | #[no_main] impl S { }
10001042 | ^^^^^^^^^^
10011043
10021044warning: crate-level attribute should be in the root module
1003- --> $DIR/issue-43106-gating-of-builtin-attrs.rs:721:17
1045+ --> $DIR/issue-43106-gating-of-builtin-attrs.rs:714:17
1046+ |
1047+ LL | mod inner { #![no_builtins] }
1048+ | ^^^^^^^^^^^^^^^
1049+
1050+ warning: crate-level attribute should be an inner attribute: add an exclamation mark: `#![foo]`
1051+ --> $DIR/issue-43106-gating-of-builtin-attrs.rs:717:5
1052+ |
1053+ LL | #[no_builtins] fn f() { }
1054+ | ^^^^^^^^^^^^^^
1055+
1056+ warning: crate-level attribute should be an inner attribute: add an exclamation mark: `#![foo]`
1057+ --> $DIR/issue-43106-gating-of-builtin-attrs.rs:720:5
1058+ |
1059+ LL | #[no_builtins] struct S;
1060+ | ^^^^^^^^^^^^^^
1061+
1062+ warning: crate-level attribute should be an inner attribute: add an exclamation mark: `#![foo]`
1063+ --> $DIR/issue-43106-gating-of-builtin-attrs.rs:723:5
1064+ |
1065+ LL | #[no_builtins] type T = S;
1066+ | ^^^^^^^^^^^^^^
1067+
1068+ warning: crate-level attribute should be an inner attribute: add an exclamation mark: `#![foo]`
1069+ --> $DIR/issue-43106-gating-of-builtin-attrs.rs:726:5
1070+ |
1071+ LL | #[no_builtins] impl S { }
1072+ | ^^^^^^^^^^^^^^
1073+
1074+ warning: crate-level attribute should be in the root module
1075+ --> $DIR/issue-43106-gating-of-builtin-attrs.rs:733:17
10041076 |
10051077LL | mod inner { #![recursion_limit="0200"] }
10061078 | ^^^^^^^^^^^^^^^^^^^^^^^^^^
10071079
10081080warning: crate-level attribute should be an inner attribute: add an exclamation mark: `#![foo]`
1009- --> $DIR/issue-43106-gating-of-builtin-attrs.rs:724 :5
1081+ --> $DIR/issue-43106-gating-of-builtin-attrs.rs:736 :5
10101082 |
10111083LL | #[recursion_limit="0200"] fn f() { }
10121084 | ^^^^^^^^^^^^^^^^^^^^^^^^^
10131085
10141086warning: crate-level attribute should be an inner attribute: add an exclamation mark: `#![foo]`
1015- --> $DIR/issue-43106-gating-of-builtin-attrs.rs:727 :5
1087+ --> $DIR/issue-43106-gating-of-builtin-attrs.rs:739 :5
10161088 |
10171089LL | #[recursion_limit="0200"] struct S;
10181090 | ^^^^^^^^^^^^^^^^^^^^^^^^^
10191091
10201092warning: crate-level attribute should be an inner attribute: add an exclamation mark: `#![foo]`
1021- --> $DIR/issue-43106-gating-of-builtin-attrs.rs:730 :5
1093+ --> $DIR/issue-43106-gating-of-builtin-attrs.rs:742 :5
10221094 |
10231095LL | #[recursion_limit="0200"] type T = S;
10241096 | ^^^^^^^^^^^^^^^^^^^^^^^^^
10251097
10261098warning: crate-level attribute should be an inner attribute: add an exclamation mark: `#![foo]`
1027- --> $DIR/issue-43106-gating-of-builtin-attrs.rs:733 :5
1099+ --> $DIR/issue-43106-gating-of-builtin-attrs.rs:745 :5
10281100 |
10291101LL | #[recursion_limit="0200"] impl S { }
10301102 | ^^^^^^^^^^^^^^^^^^^^^^^^^
10311103
10321104warning: crate-level attribute should be in the root module
1033- --> $DIR/issue-43106-gating-of-builtin-attrs.rs:740 :17
1105+ --> $DIR/issue-43106-gating-of-builtin-attrs.rs:752 :17
10341106 |
10351107LL | mod inner { #![type_length_limit="0100"] }
10361108 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
10371109
10381110warning: crate-level attribute should be an inner attribute: add an exclamation mark: `#![foo]`
1039- --> $DIR/issue-43106-gating-of-builtin-attrs.rs:743 :5
1111+ --> $DIR/issue-43106-gating-of-builtin-attrs.rs:755 :5
10401112 |
10411113LL | #[type_length_limit="0100"] fn f() { }
10421114 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^
10431115
10441116warning: crate-level attribute should be an inner attribute: add an exclamation mark: `#![foo]`
1045- --> $DIR/issue-43106-gating-of-builtin-attrs.rs:746 :5
1117+ --> $DIR/issue-43106-gating-of-builtin-attrs.rs:758 :5
10461118 |
10471119LL | #[type_length_limit="0100"] struct S;
10481120 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^
10491121
10501122warning: crate-level attribute should be an inner attribute: add an exclamation mark: `#![foo]`
1051- --> $DIR/issue-43106-gating-of-builtin-attrs.rs:749 :5
1123+ --> $DIR/issue-43106-gating-of-builtin-attrs.rs:761 :5
10521124 |
10531125LL | #[type_length_limit="0100"] type T = S;
10541126 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^
10551127
10561128warning: crate-level attribute should be an inner attribute: add an exclamation mark: `#![foo]`
1057- --> $DIR/issue-43106-gating-of-builtin-attrs.rs:752 :5
1129+ --> $DIR/issue-43106-gating-of-builtin-attrs.rs:764 :5
10581130 |
10591131LL | #[type_length_limit="0100"] impl S { }
10601132 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^
@@ -1067,5 +1139,5 @@ LL | #![feature(rust1)]
10671139 |
10681140 = note: `#[warn(stable_features)]` on by default
10691141
1070- warning: 155 warnings emitted
1142+ warning: 167 warnings emitted
10711143
0 commit comments