summaryrefslogtreecommitdiff
path: root/lazy-static/tests
diff options
context:
space:
mode:
authorDaniel Mueller <deso@posteo.net>2019-12-29 09:22:57 -0800
committerDaniel Mueller <deso@posteo.net>2019-12-29 09:22:57 -0800
commit4ae7f49555583b0d02fe73354e79243980545b60 (patch)
tree36ea299e8a2c41ba0e2bc24f7b08ef987d088091 /lazy-static/tests
parent3602aa37413186da0973c069bd0edc701a240dfe (diff)
downloadnitrocli-4ae7f49555583b0d02fe73354e79243980545b60.tar.gz
nitrocli-4ae7f49555583b0d02fe73354e79243980545b60.tar.bz2
Update lazy_static crate to 1.4.0
This change updates the lazy_static crate version to 1.4.0. Import subrepo lazy-static/:lazy-static at 421669662b35fcb455f2902daed2e20bbbba79b6
Diffstat (limited to 'lazy-static/tests')
-rw-r--r--lazy-static/tests/test.rs2
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! {