@@ -328,37 +328,49 @@ LL | | }
328
328
= warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
329
329
330
330
warning: 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
332
338
|
333
339
LL | #[crate_name = "0900"]
334
340
| ^^^^^^^^^^^^^^^^^^^^^^
335
341
336
342
warning: 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
338
344
|
339
345
LL | #[crate_type = "0800"]
340
346
| ^^^^^^^^^^^^^^^^^^^^^^
341
347
342
348
warning: 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
344
350
|
345
351
LL | #[feature(x0600)]
346
352
| ^^^^^^^^^^^^^^^^^
347
353
348
354
warning: 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
350
356
|
351
357
LL | #[no_main]
352
358
| ^^^^^^^^^^
353
359
354
360
warning: 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
356
368
|
357
369
LL | #[recursion_limit="0200"]
358
370
| ^^^^^^^^^^^^^^^^^^^^^^^^^
359
371
360
372
warning: 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
362
374
|
363
375
LL | #[type_length_limit="0100"]
364
376
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^
@@ -880,181 +892,241 @@ LL | #[link()] impl S { }
880
892
= warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
881
893
882
894
warning: 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
884
926
|
885
927
LL | mod inner { #![crate_name="0900"] }
886
928
| ^^^^^^^^^^^^^^^^^^^^^
887
929
888
930
warning: 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
890
932
|
891
933
LL | #[crate_name = "0900"] fn f() { }
892
934
| ^^^^^^^^^^^^^^^^^^^^^^
893
935
894
936
warning: 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
896
938
|
897
939
LL | #[crate_name = "0900"] struct S;
898
940
| ^^^^^^^^^^^^^^^^^^^^^^
899
941
900
942
warning: 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
902
944
|
903
945
LL | #[crate_name = "0900"] type T = S;
904
946
| ^^^^^^^^^^^^^^^^^^^^^^
905
947
906
948
warning: 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
908
950
|
909
951
LL | #[crate_name = "0900"] impl S { }
910
952
| ^^^^^^^^^^^^^^^^^^^^^^
911
953
912
954
warning: 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
914
956
|
915
957
LL | mod inner { #![crate_type="0800"] }
916
958
| ^^^^^^^^^^^^^^^^^^^^^
917
959
918
960
warning: 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
920
962
|
921
963
LL | #[crate_type = "0800"] fn f() { }
922
964
| ^^^^^^^^^^^^^^^^^^^^^^
923
965
924
966
warning: 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
926
968
|
927
969
LL | #[crate_type = "0800"] struct S;
928
970
| ^^^^^^^^^^^^^^^^^^^^^^
929
971
930
972
warning: 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
932
974
|
933
975
LL | #[crate_type = "0800"] type T = S;
934
976
| ^^^^^^^^^^^^^^^^^^^^^^
935
977
936
978
warning: 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
938
980
|
939
981
LL | #[crate_type = "0800"] impl S { }
940
982
| ^^^^^^^^^^^^^^^^^^^^^^
941
983
942
984
warning: 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
944
986
|
945
987
LL | mod inner { #![feature(x0600)] }
946
988
| ^^^^^^^^^^^^^^^^^^
947
989
948
990
warning: 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
950
992
|
951
993
LL | #[feature(x0600)] fn f() { }
952
994
| ^^^^^^^^^^^^^^^^^
953
995
954
996
warning: 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
956
998
|
957
999
LL | #[feature(x0600)] struct S;
958
1000
| ^^^^^^^^^^^^^^^^^
959
1001
960
1002
warning: 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
962
1004
|
963
1005
LL | #[feature(x0600)] type T = S;
964
1006
| ^^^^^^^^^^^^^^^^^
965
1007
966
1008
warning: 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
968
1010
|
969
1011
LL | #[feature(x0600)] impl S { }
970
1012
| ^^^^^^^^^^^^^^^^^
971
1013
972
1014
warning: 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
974
1016
|
975
1017
LL | mod inner { #![no_main] }
976
1018
| ^^^^^^^^^^^
977
1019
978
1020
warning: 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
980
1022
|
981
1023
LL | #[no_main] fn f() { }
982
1024
| ^^^^^^^^^^
983
1025
984
1026
warning: 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
986
1028
|
987
1029
LL | #[no_main] struct S;
988
1030
| ^^^^^^^^^^
989
1031
990
1032
warning: 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
992
1034
|
993
1035
LL | #[no_main] type T = S;
994
1036
| ^^^^^^^^^^
995
1037
996
1038
warning: 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
998
1040
|
999
1041
LL | #[no_main] impl S { }
1000
1042
| ^^^^^^^^^^
1001
1043
1002
1044
warning: 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
1004
1076
|
1005
1077
LL | mod inner { #![recursion_limit="0200"] }
1006
1078
| ^^^^^^^^^^^^^^^^^^^^^^^^^^
1007
1079
1008
1080
warning: 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
1010
1082
|
1011
1083
LL | #[recursion_limit="0200"] fn f() { }
1012
1084
| ^^^^^^^^^^^^^^^^^^^^^^^^^
1013
1085
1014
1086
warning: 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
1016
1088
|
1017
1089
LL | #[recursion_limit="0200"] struct S;
1018
1090
| ^^^^^^^^^^^^^^^^^^^^^^^^^
1019
1091
1020
1092
warning: 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
1022
1094
|
1023
1095
LL | #[recursion_limit="0200"] type T = S;
1024
1096
| ^^^^^^^^^^^^^^^^^^^^^^^^^
1025
1097
1026
1098
warning: 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
1028
1100
|
1029
1101
LL | #[recursion_limit="0200"] impl S { }
1030
1102
| ^^^^^^^^^^^^^^^^^^^^^^^^^
1031
1103
1032
1104
warning: 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
1034
1106
|
1035
1107
LL | mod inner { #![type_length_limit="0100"] }
1036
1108
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
1037
1109
1038
1110
warning: 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
1040
1112
|
1041
1113
LL | #[type_length_limit="0100"] fn f() { }
1042
1114
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^
1043
1115
1044
1116
warning: 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
1046
1118
|
1047
1119
LL | #[type_length_limit="0100"] struct S;
1048
1120
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^
1049
1121
1050
1122
warning: 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
1052
1124
|
1053
1125
LL | #[type_length_limit="0100"] type T = S;
1054
1126
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^
1055
1127
1056
1128
warning: 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
1058
1130
|
1059
1131
LL | #[type_length_limit="0100"] impl S { }
1060
1132
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^
@@ -1067,5 +1139,5 @@ LL | #![feature(rust1)]
1067
1139
|
1068
1140
= note: `#[warn(stable_features)]` on by default
1069
1141
1070
- warning: 155 warnings emitted
1142
+ warning: 167 warnings emitted
1071
1143
0 commit comments