diff options
Diffstat (limited to 'lazy-static/tests')
| -rw-r--r-- | lazy-static/tests/test.rs | 2 | 
1 files changed, 2 insertions, 0 deletions
| diff --git a/lazy-static/tests/test.rs b/lazy-static/tests/test.rs index 654abc5..03d0ab6 100644 --- a/lazy-static/tests/test.rs +++ b/lazy-static/tests/test.rs @@ -133,9 +133,11 @@ fn item_name_shadowing() {  }  use std::sync::atomic::AtomicBool; +#[allow(deprecated)]  use std::sync::atomic::ATOMIC_BOOL_INIT;  use std::sync::atomic::Ordering::SeqCst; +#[allow(deprecated)]  static PRE_INIT_FLAG: AtomicBool = ATOMIC_BOOL_INIT;  lazy_static! { | 
