@@ -753,18 +753,21 @@ fn bench_autodiscover_2015() {
753753 . masquerade_as_nightly_cargo ( ) ,
754754 execs ( ) . with_stderr ( & format ! (
755755 "warning: \
756- An explicit [[bench]] section is specified in Cargo.toml which currently disables Cargo from \
757- automatically inferring other benchmark targets. This inference behavior will change in \
758- the Rust 2018 edition and the following files will be included as a benchmark target:
756+ An explicit [[bench]] section is specified in Cargo.toml which currently
757+ disables Cargo from automatically inferring other benchmark targets.
758+ This inference behavior will change in the Rust 2018 edition and the following
759+ files will be included as a benchmark target:
759760
760761* [..]bench_basic.rs
761762
762- This is likely to break cargo build or cargo test as these files may not be ready to be compiled \
763- as a benchmark target today. You can future-proof yourself and disable this warning by \
764- adding autobenches = false to your [package] section. You may also move the files to \
765- a location where Cargo would not automatically infer them to be a target, such as in subfolders.
763+ This is likely to break cargo build or cargo test as these files may not be
764+ ready to be compiled as a benchmark target today. You can future-proof yourself
765+ and disable this warning by adding autobenches = false to your [package]
766+ section. You may also move the files to a location where Cargo would not
767+ automatically infer them to be a target, such as in subfolders.
766768
767- For more information on this warning you can consult https://github.com/rust-lang/cargo/issues/5330
769+ For more information on this warning you can consult
770+ https://github.com/rust-lang/cargo/issues/5330
768771[COMPILING] foo v0.0.1 ({})
769772[FINISHED] release [optimized] target(s) in [..]
770773[RUNNING] target[/]release[/]deps[/]foo-[..][EXE]
0 commit comments