@@ -842,7 +842,7 @@ fn dev_dependencies2() {
842
842
. build ( ) ;
843
843
p. cargo ( "check" ) . with_stderr_data ( str![ [ r#"
844
844
[WARNING] `dev_dependencies` is deprecated in favor of `dev-dependencies` and will not work in the 2024 edition
845
- (in the `foo` package)
845
+ (in the `foo` package)
846
846
[LOCKING] 1 package to latest compatible version
847
847
[CHECKING] foo v0.1.0 ([ROOT]/foo)
848
848
[FINISHED] `dev` profile [unoptimized + debuginfo] target(s) in [ELAPSED]s
@@ -957,7 +957,7 @@ fn build_dependencies2() {
957
957
. build ( ) ;
958
958
p. cargo ( "check" ) . with_stderr_data ( str![ [ r#"
959
959
[WARNING] `build_dependencies` is deprecated in favor of `build-dependencies` and will not work in the 2024 edition
960
- (in the `foo` package)
960
+ (in the `foo` package)
961
961
[LOCKING] 1 package to latest compatible version
962
962
[CHECKING] foo v0.1.0 ([ROOT]/foo)
963
963
[FINISHED] `dev` profile [unoptimized + debuginfo] target(s) in [ELAPSED]s
@@ -1065,7 +1065,7 @@ fn lib_crate_type2() {
1065
1065
p. cargo ( "check" )
1066
1066
. with_stderr_data ( str![ [ r#"
1067
1067
[WARNING] `crate_type` is deprecated in favor of `crate-type` and will not work in the 2024 edition
1068
- (in the `foo` library target)
1068
+ (in the `foo` library target)
1069
1069
[CHECKING] foo v0.5.0 ([ROOT]/foo)
1070
1070
[FINISHED] `dev` profile [unoptimized + debuginfo] target(s) in [ELAPSED]s
1071
1071
@@ -1156,7 +1156,7 @@ fn bin_crate_type2() {
1156
1156
p. cargo ( "check" )
1157
1157
. with_stderr_data ( str![ [ r#"
1158
1158
[WARNING] `crate_type` is deprecated in favor of `crate-type` and will not work in the 2024 edition
1159
- (in the `foo` binary target)
1159
+ (in the `foo` binary target)
1160
1160
[CHECKING] foo v0.5.0 ([ROOT]/foo)
1161
1161
[FINISHED] `dev` profile [unoptimized + debuginfo] target(s) in [ELAPSED]s
1162
1162
@@ -1265,9 +1265,9 @@ fn examples_crate_type2() {
1265
1265
p. cargo ( "check" )
1266
1266
. with_stderr_data ( str![ [ r#"
1267
1267
[WARNING] `crate_type` is deprecated in favor of `crate-type` and will not work in the 2024 edition
1268
- (in the `ex` example target)
1268
+ (in the `ex` example target)
1269
1269
[WARNING] `crate_type` is deprecated in favor of `crate-type` and will not work in the 2024 edition
1270
- (in the `goodbye` example target)
1270
+ (in the `goodbye` example target)
1271
1271
[CHECKING] foo v0.5.0 ([ROOT]/foo)
1272
1272
[FINISHED] `dev` profile [unoptimized + debuginfo] target(s) in [ELAPSED]s
1273
1273
@@ -1404,7 +1404,7 @@ fn cargo_platform_build_dependencies2() {
1404
1404
p. cargo ( "check" )
1405
1405
. with_stderr_data ( str![ [ r#"
1406
1406
[WARNING] `build_dependencies` is deprecated in favor of `build-dependencies` and will not work in the 2024 edition
1407
- (in the `[HOST_TARGET]` platform target)
1407
+ (in the `[HOST_TARGET]` platform target)
1408
1408
[LOCKING] 1 package to latest compatible version
1409
1409
[COMPILING] build v0.5.0 ([ROOT]/foo/build)
1410
1410
[COMPILING] foo v0.5.0 ([ROOT]/foo)
@@ -1535,7 +1535,7 @@ fn cargo_platform_dev_dependencies2() {
1535
1535
p. cargo ( "check" )
1536
1536
. with_stderr_data ( str![ [ r#"
1537
1537
[WARNING] `dev_dependencies` is deprecated in favor of `dev-dependencies` and will not work in the 2024 edition
1538
- (in the `[HOST_TARGET]` platform target)
1538
+ (in the `[HOST_TARGET]` platform target)
1539
1539
[LOCKING] 1 package to latest compatible version
1540
1540
[CHECKING] foo v0.5.0 ([ROOT]/foo)
1541
1541
[FINISHED] `dev` profile [unoptimized + debuginfo] target(s) in [ELAPSED]s
@@ -1664,7 +1664,7 @@ fn default_features2() {
1664
1664
1665
1665
p. cargo ( "check" ) . with_stderr_data ( str![ [ r#"
1666
1666
[WARNING] `default_features` is deprecated in favor of `default-features` and will not work in the 2024 edition
1667
- (in the `a` dependency)
1667
+ (in the `a` dependency)
1668
1668
[LOCKING] 1 package to latest compatible version
1669
1669
[CHECKING] a v0.1.0 ([ROOT]/foo/a)
1670
1670
[CHECKING] foo v0.1.0 ([ROOT]/foo)
@@ -1833,13 +1833,13 @@ fn workspace_default_features2() {
1833
1833
p. cargo ( "check" )
1834
1834
. with_stderr_data (
1835
1835
str![ [ r#"
1836
- (in the `dep_workspace_only` dependency)
1837
1836
[CHECKING] dep_package_only v0.1.0 ([ROOT]/foo/dep_package_only)
1838
1837
[CHECKING] dep_workspace_only v0.1.0 ([ROOT]/foo/dep_workspace_only)
1839
1838
[CHECKING] package_only v0.1.0 ([ROOT]/foo/package_only)
1840
1839
[CHECKING] workspace_only v0.1.0 ([ROOT]/foo/workspace_only)
1841
1840
[FINISHED] `dev` profile [unoptimized + debuginfo] target(s) in [ELAPSED]s
1842
1841
[WARNING] [ROOT]/foo/workspace_only/Cargo.toml: `default_features` is deprecated in favor of `default-features` and will not work in the 2024 edition
1842
+ (in the `dep_workspace_only` dependency)
1843
1843
1844
1844
"# ] ]
1845
1845
. unordered ( ) ,
@@ -1950,7 +1950,7 @@ fn lib_proc_macro2() {
1950
1950
foo. cargo ( "check" )
1951
1951
. with_stderr_data ( str![ [ r#"
1952
1952
[WARNING] `proc_macro` is deprecated in favor of `proc-macro` and will not work in the 2024 edition
1953
- (in the `foo` library target)
1953
+ (in the `foo` library target)
1954
1954
[CHECKING] foo v0.1.0 ([ROOT]/foo)
1955
1955
[FINISHED] `dev` profile [unoptimized + debuginfo] target(s) in [ELAPSED]s
1956
1956
@@ -2038,7 +2038,7 @@ fn bin_proc_macro2() {
2038
2038
foo. cargo ( "check" )
2039
2039
. with_stderr_data ( str![ [ r#"
2040
2040
[WARNING] `proc_macro` is deprecated in favor of `proc-macro` and will not work in the 2024 edition
2041
- (in the `foo` binary target)
2041
+ (in the `foo` binary target)
2042
2042
[CHECKING] foo v0.5.0 ([ROOT]/foo)
2043
2043
[FINISHED] `dev` profile [unoptimized + debuginfo] target(s) in [ELAPSED]s
2044
2044
@@ -3476,22 +3476,22 @@ fn legacy_binary_paths_warnings() {
3476
3476
p. cargo ( "check -v" )
3477
3477
. with_stderr_data ( str![ [ r#"
3478
3478
[WARNING] An explicit [[bin]] section is specified in Cargo.toml which currently
3479
- disables Cargo from automatically inferring other binary targets.
3480
- This inference behavior will change in the Rust 2018 edition and the following
3481
- files will be included as a binary target:
3482
-
3483
- * src/main.rs
3484
-
3485
- This is likely to break cargo build or cargo test as these files may not be
3486
- ready to be compiled as a binary target today. You can future-proof yourself
3487
- and disable this warning by adding `autobins = false` to your [package]
3488
- section. You may also move the files to a location where Cargo would not
3489
- automatically infer them to be a target, such as in subfolders.
3490
-
3491
- For more information on this warning you can consult
3492
- https://github.com/rust-lang/cargo/issues/5330
3479
+ disables Cargo from automatically inferring other binary targets.
3480
+ This inference behavior will change in the Rust 2018 edition and the following
3481
+ files will be included as a binary target:
3482
+
3483
+ * src/main.rs
3484
+
3485
+ This is likely to break cargo build or cargo test as these files may not be
3486
+ ready to be compiled as a binary target today. You can future-proof yourself
3487
+ and disable this warning by adding `autobins = false` to your [package]
3488
+ section. You may also move the files to a location where Cargo would not
3489
+ automatically infer them to be a target, such as in subfolders.
3490
+
3491
+ For more information on this warning you can consult
3492
+ https://github.com/rust-lang/cargo/issues/5330
3493
3493
[WARNING] path `src/main.rs` was erroneously implicitly accepted for binary `bar`,
3494
- please set bin.path in Cargo.toml
3494
+ please set bin.path in Cargo.toml
3495
3495
[CHECKING] foo v1.0.0 ([ROOT]/foo)
3496
3496
[RUNNING] `rustc [..]`
3497
3497
[RUNNING] `rustc [..]`
@@ -3521,22 +3521,22 @@ please set bin.path in Cargo.toml
3521
3521
p. cargo ( "check -v" )
3522
3522
. with_stderr_data ( str![ [ r#"
3523
3523
[WARNING] An explicit [[bin]] section is specified in Cargo.toml which currently
3524
- disables Cargo from automatically inferring other binary targets.
3525
- This inference behavior will change in the Rust 2018 edition and the following
3526
- files will be included as a binary target:
3527
-
3528
- * src/bin/main.rs
3529
-
3530
- This is likely to break cargo build or cargo test as these files may not be
3531
- ready to be compiled as a binary target today. You can future-proof yourself
3532
- and disable this warning by adding `autobins = false` to your [package]
3533
- section. You may also move the files to a location where Cargo would not
3534
- automatically infer them to be a target, such as in subfolders.
3535
-
3536
- For more information on this warning you can consult
3537
- https://github.com/rust-lang/cargo/issues/5330
3524
+ disables Cargo from automatically inferring other binary targets.
3525
+ This inference behavior will change in the Rust 2018 edition and the following
3526
+ files will be included as a binary target:
3527
+
3528
+ * src/bin/main.rs
3529
+
3530
+ This is likely to break cargo build or cargo test as these files may not be
3531
+ ready to be compiled as a binary target today. You can future-proof yourself
3532
+ and disable this warning by adding `autobins = false` to your [package]
3533
+ section. You may also move the files to a location where Cargo would not
3534
+ automatically infer them to be a target, such as in subfolders.
3535
+
3536
+ For more information on this warning you can consult
3537
+ https://github.com/rust-lang/cargo/issues/5330
3538
3538
[WARNING] path `src/bin/main.rs` was erroneously implicitly accepted for binary `bar`,
3539
- please set bin.path in Cargo.toml
3539
+ please set bin.path in Cargo.toml
3540
3540
[CHECKING] foo v1.0.0 ([ROOT]/foo)
3541
3541
[RUNNING] `rustc [..]`
3542
3542
[RUNNING] `rustc [..]`
@@ -3565,7 +3565,7 @@ please set bin.path in Cargo.toml
3565
3565
p. cargo ( "check -v" )
3566
3566
. with_stderr_data ( str![ [ r#"
3567
3567
[WARNING] path `src/bar.rs` was erroneously implicitly accepted for binary `bar`,
3568
- please set bin.path in Cargo.toml
3568
+ please set bin.path in Cargo.toml
3569
3569
[CHECKING] foo v1.0.0 ([ROOT]/foo)
3570
3570
[RUNNING] `rustc [..]`
3571
3571
[FINISHED] `dev` profile [unoptimized + debuginfo] target(s) in [ELAPSED]s
0 commit comments