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/librustc_errors | |
| 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/librustc_errors')
| -rw-r--r-- | src/librustc_errors/lock.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/librustc_errors/lock.rs b/src/librustc_errors/lock.rs index dff8d53986d..e5baf93b000 100644 --- a/src/librustc_errors/lock.rs +++ b/src/librustc_errors/lock.rs @@ -22,7 +22,7 @@ use std::any::Any; #[cfg(windows)] -#[allow(bad_style)] +#[allow(nonstandard_style)] pub fn acquire_global_lock(name: &str) -> Box<dyn Any> { use std::ffi::CString; use std::io; |
