@@ -873,7 +873,7 @@ fn dev_dependencies2_conflict() {
873
873
p. cargo ( "check" )
874
874
. with_stderr_contains (
875
875
"\
876
- [WARNING] unused manifest key `dev_dependencies ` in the `foo` package
876
+ [WARNING] `dev_dependencies` is redundant with `dev-dependencies`, preferring `dev-dependencies ` in the `foo` package
877
877
" ,
878
878
)
879
879
. run ( ) ;
@@ -948,7 +948,7 @@ fn build_dependencies2_conflict() {
948
948
p. cargo ( "check" )
949
949
. with_stderr_contains (
950
950
"\
951
- [WARNING] unused manifest key `build_dependencies ` in the `foo` package
951
+ [WARNING] `build_dependencies` is redundant with `build-dependencies`, preferring `build-dependencies ` in the `foo` package
952
952
" ,
953
953
)
954
954
. run ( ) ;
@@ -1006,7 +1006,7 @@ fn lib_crate_type2_conflict() {
1006
1006
p. cargo ( "check" )
1007
1007
. with_stderr_contains (
1008
1008
"\
1009
- [WARNING] unused manifest key `crate_type ` in the `foo` library target
1009
+ [WARNING] `crate_type` is redundant with `crate-type`, preferring `crate-type ` in the `foo` library target
1010
1010
" ,
1011
1011
)
1012
1012
. run ( ) ;
@@ -1101,8 +1101,8 @@ fn examples_crate_type2_conflict() {
1101
1101
p. cargo ( "check" )
1102
1102
. with_stderr_contains (
1103
1103
"\
1104
- [WARNING] unused manifest key `crate_type ` in the `ex` example target
1105
- [WARNING] unused manifest key `crate_type ` in the `goodbye` example target
1104
+ [WARNING] `crate_type` is redundant with `crate-type`, preferring `crate-type ` in the `ex` example target
1105
+ [WARNING] `crate_type` is redundant with `crate-type`, preferring `crate-type ` in the `goodbye` example target
1106
1106
" ,
1107
1107
)
1108
1108
. run ( ) ;
@@ -1183,7 +1183,7 @@ fn cargo_platform_build_dependencies2_conflict() {
1183
1183
p. cargo ( "check" )
1184
1184
. with_stderr_contains ( format ! (
1185
1185
"\
1186
- [WARNING] unused manifest key `build_dependencies ` in the `{host}` platform target
1186
+ [WARNING] `build_dependencies` is redundant with `build-dependencies`, preferring `build-dependencies ` in the `{host}` platform target
1187
1187
"
1188
1188
) )
1189
1189
. run ( ) ;
@@ -1262,7 +1262,7 @@ fn cargo_platform_dev_dependencies2_conflict() {
1262
1262
p. cargo ( "check" )
1263
1263
. with_stderr_contains ( format ! (
1264
1264
"\
1265
- [WARNING] unused manifest key `dev_dependencies ` in the `{host}` platform target
1265
+ [WARNING] `dev_dependencies` is redundant with `dev-dependencies`, preferring `dev-dependencies ` in the `{host}` platform target
1266
1266
"
1267
1267
) )
1268
1268
. run ( ) ;
@@ -1349,7 +1349,7 @@ fn default_features2_conflict() {
1349
1349
p. cargo ( "check" )
1350
1350
. with_stderr_contains (
1351
1351
"\
1352
- [WARNING] unused manifest key `default_features ` in the `a` dependency
1352
+ [WARNING] `default_features` is redundant with `default-features`, preferring `default-features ` in the `a` dependency
1353
1353
" ,
1354
1354
)
1355
1355
. run ( ) ;
@@ -1403,7 +1403,7 @@ fn proc_macro2_conflict() {
1403
1403
foo. cargo ( "check" )
1404
1404
. with_stderr_contains (
1405
1405
"\
1406
- [WARNING] unused manifest key `proc_macro ` in the `foo` library target
1406
+ [WARNING] `proc_macro` is redundant with `proc-macro`, preferring `proc-macro ` in the `foo` library target
1407
1407
" ,
1408
1408
)
1409
1409
. run ( ) ;
0 commit comments