diff options
| author | Corey Farwell <coreyf@rwell.org> | 2018-08-29 08:21:01 -0500 |
|---|---|---|
| committer | Corey Farwell <coreyf@rwell.org> | 2018-08-29 09:01:35 -0500 |
| commit | e477a13d63c2139f39c192c8e22dcfd0810f68e4 (patch) | |
| tree | c5ed734f6ed887a5348070b7666db6ac13468e2c /src/bootstrap | |
| parent | ca0de63898b525656ad8447cd81ccb08a05e3d6c (diff) | |
| download | rust-e477a13d63c2139f39c192c8e22dcfd0810f68e4.tar.gz rust-e477a13d63c2139f39c192c8e22dcfd0810f68e4.zip | |
Replace usages of 'bad_style' with 'nonstandard_style'.
`bad_style` is being deprecated in favor of `nonstandard_style`: - https://github.com/rust-lang/rust/issues/41646
Diffstat (limited to 'src/bootstrap')
| -rw-r--r-- | src/bootstrap/job.rs | 2 | ||||
| -rw-r--r-- | src/bootstrap/util.rs | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/bootstrap/job.rs b/src/bootstrap/job.rs index 6445ce8da33..e6ee525ca2e 100644 --- a/src/bootstrap/job.rs +++ b/src/bootstrap/job.rs @@ -37,7 +37,7 @@ //! Note that this module has a #[cfg(windows)] above it as none of this logic //! is required on Unix. -#![allow(bad_style, dead_code)] +#![allow(nonstandard_style, dead_code)] use std::env; use std::io; diff --git a/src/bootstrap/util.rs b/src/bootstrap/util.rs index be03796921a..8ce8f20add3 100644 --- a/src/bootstrap/util.rs +++ b/src/bootstrap/util.rs @@ -137,7 +137,7 @@ pub fn symlink_dir(config: &Config, src: &Path, dest: &Path) -> io::Result<()> { // // Copied from std #[cfg(windows)] - #[allow(bad_style)] + #[allow(nonstandard_style)] fn symlink_dir_inner(target: &Path, junction: &Path) -> io::Result<()> { use std::ptr; use std::ffi::OsStr; |
