@@ -836,9 +836,7 @@ fn dev_dependencies2_conflict() {
836
836
p. cargo ( "check" )
837
837
. with_stderr_contains (
838
838
"\
839
- [WARNING] conflicting between `dev-dependencies` and `dev_dependencies` in the `foo` package.
840
-
841
- `dev_dependencies` is ignored and not recommended for use in the future
839
+ [WARNING] unused manifest key `dev_dependencies` in the `foo` package
842
840
" ,
843
841
)
844
842
. run ( ) ;
@@ -876,9 +874,7 @@ fn build_dependencies2_conflict() {
876
874
p. cargo ( "check" )
877
875
. with_stderr_contains (
878
876
"\
879
- [WARNING] conflicting between `build-dependencies` and `build_dependencies` in the `foo` package.
880
-
881
- `build_dependencies` is ignored and not recommended for use in the future
877
+ [WARNING] unused manifest key `build_dependencies` in the `foo` package
882
878
" ,
883
879
)
884
880
. run ( ) ;
@@ -907,9 +903,7 @@ fn lib_crate_type2_conflict() {
907
903
p. cargo ( "check" )
908
904
. with_stderr_contains (
909
905
"\
910
- [WARNING] conflicting between `crate-type` and `crate_type` in the `foo` library target.
911
-
912
- `crate_type` is ignored and not recommended for use in the future
906
+ [WARNING] unused manifest key `crate_type` in the `foo` library target
913
907
" ,
914
908
)
915
909
. run ( ) ;
@@ -956,12 +950,9 @@ fn examples_crate_type2_conflict() {
956
950
p. cargo ( "check" )
957
951
. with_stderr_contains (
958
952
"\
959
- [WARNING] conflicting between `crate-type` and `crate_type` in the `ex` example target.
960
-
961
- `crate_type` is ignored and not recommended for use in the future
962
- [WARNING] conflicting between `crate-type` and `crate_type` in the `goodbye` example target.
963
-
964
- `crate_type` is ignored and not recommended for use in the future" ,
953
+ [WARNING] unused manifest key `crate_type` in the `ex` example target
954
+ [WARNING] unused manifest key `crate_type` in the `goodbye` example target
955
+ " ,
965
956
)
966
957
. run ( ) ;
967
958
}
@@ -999,13 +990,11 @@ fn cargo_platform_build_dependencies2_conflict() {
999
990
. build ( ) ;
1000
991
1001
992
p. cargo ( "check" )
1002
- . with_stderr_contains (
1003
- format ! ( "\
1004
- [WARNING] conflicting between `build-dependencies` and `build_dependencies` in the `{host}` platform target.
1005
-
1006
- `build_dependencies` is ignored and not recommended for use in the future
1007
- " )
1008
- )
993
+ . with_stderr_contains ( format ! (
994
+ "\
995
+ [WARNING] unused manifest key `build_dependencies` in the `{host}` platform target
996
+ "
997
+ ) )
1009
998
. run ( ) ;
1010
999
}
1011
1000
@@ -1041,13 +1030,11 @@ fn cargo_platform_dev_dependencies2_conflict() {
1041
1030
. build ( ) ;
1042
1031
1043
1032
p. cargo ( "check" )
1044
- . with_stderr_contains (
1045
- format ! ( "\
1046
- [WARNING] conflicting between `dev-dependencies` and `dev_dependencies` in the `{host}` platform target.
1047
-
1048
- `dev_dependencies` is ignored and not recommended for use in the future
1049
- " )
1050
- )
1033
+ . with_stderr_contains ( format ! (
1034
+ "\
1035
+ [WARNING] unused manifest key `dev_dependencies` in the `{host}` platform target
1036
+ "
1037
+ ) )
1051
1038
. run ( ) ;
1052
1039
}
1053
1040
@@ -1088,9 +1075,7 @@ fn default_features2_conflict() {
1088
1075
p. cargo ( "check" )
1089
1076
. with_stderr_contains (
1090
1077
"\
1091
- [WARNING] conflicting between `default-features` and `default_features` in the `a` dependency.
1092
-
1093
- `default_features` is ignored and not recommended for use in the future
1078
+ [WARNING] unused manifest key `default_features` in the `a` dependency
1094
1079
" ,
1095
1080
)
1096
1081
. run ( ) ;
@@ -1117,9 +1102,7 @@ fn proc_macro2_conflict() {
1117
1102
foo. cargo ( "check" )
1118
1103
. with_stderr_contains (
1119
1104
"\
1120
- [WARNING] conflicting between `proc-macro` and `proc_macro` in the `foo` library target.
1121
-
1122
- `proc_macro` is ignored and not recommended for use in the future
1105
+ [WARNING] unused manifest key `proc_macro` in the `foo` library target
1123
1106
" ,
1124
1107
)
1125
1108
. run ( ) ;
0 commit comments