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/libpanic_unwind | |
| 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/libpanic_unwind')
| -rw-r--r-- | src/libpanic_unwind/seh.rs | 2 | ||||
| -rw-r--r-- | src/libpanic_unwind/seh64_gnu.rs | 2 | ||||
| -rw-r--r-- | src/libpanic_unwind/windows.rs | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/src/libpanic_unwind/seh.rs b/src/libpanic_unwind/seh.rs index 015be2dea21..d6298a38a26 100644 --- a/src/libpanic_unwind/seh.rs +++ b/src/libpanic_unwind/seh.rs @@ -54,7 +54,7 @@ //! [win64]: http://msdn.microsoft.com/en-us/library/1eyas8tf.aspx //! [llvm]: http://llvm.org/docs/ExceptionHandling.html#background-on-windows-exceptions -#![allow(bad_style)] +#![allow(nonstandard_style)] #![allow(private_no_mangle_fns)] use alloc::boxed::Box; diff --git a/src/libpanic_unwind/seh64_gnu.rs b/src/libpanic_unwind/seh64_gnu.rs index 0b08e54c673..c2074db0038 100644 --- a/src/libpanic_unwind/seh64_gnu.rs +++ b/src/libpanic_unwind/seh64_gnu.rs @@ -11,7 +11,7 @@ //! Unwinding implementation of top of native Win64 SEH, //! however the unwind handler data (aka LSDA) uses GCC-compatible encoding. -#![allow(bad_style)] +#![allow(nonstandard_style)] #![allow(private_no_mangle_fns)] use alloc::boxed::Box; diff --git a/src/libpanic_unwind/windows.rs b/src/libpanic_unwind/windows.rs index 5f1dda36a88..0a1c9b3adf1 100644 --- a/src/libpanic_unwind/windows.rs +++ b/src/libpanic_unwind/windows.rs @@ -8,7 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. -#![allow(bad_style)] +#![allow(nonstandard_style)] #![allow(dead_code)] #![cfg(windows)] |
