about summary refs log tree commit diff
path: root/src/libstd/num.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/libstd/num.rs')
-rw-r--r--src/libstd/num.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libstd/num.rs b/src/libstd/num.rs
index 547b8c7c925..4b975dd912a 100644
--- a/src/libstd/num.rs
+++ b/src/libstd/num.rs
@@ -22,6 +22,7 @@ pub use core::num::{FpCategory, ParseIntError, ParseFloatError, TryFromIntError}
 pub use core::num::Wrapping;
 
 #[unstable(feature = "nonzero", issue = "49137")]
+#[allow(deprecated)]
 pub use core::num::{
     NonZeroU8, NonZeroI8, NonZeroU16, NonZeroI16, NonZeroU32, NonZeroI32,
     NonZeroU64, NonZeroI64, NonZeroU128, NonZeroI128, NonZeroUsize, NonZeroIsize,