diff options
| author | Simon Sapin <simon.sapin@exyr.org> | 2018-03-24 11:15:10 +0100 |
|---|---|---|
| committer | Simon Sapin <simon.sapin@exyr.org> | 2018-03-30 18:13:05 +0200 |
| commit | cea018f290f05b32ca6b5bcb2f8599d20b5de75c (patch) | |
| tree | f2a76df76f7cb2215674d4b2efbc87710e026548 /src/libstd | |
| parent | 051050dab9b39d29c8a5978bc79c7895dfa1118b (diff) | |
| download | rust-cea018f290f05b32ca6b5bcb2f8599d20b5de75c.tar.gz rust-cea018f290f05b32ca6b5bcb2f8599d20b5de75c.zip | |
Deprecate signed std::num::NonZeroI* with a call for use cases
Diffstat (limited to 'src/libstd')
| -rw-r--r-- | src/libstd/num.rs | 1 |
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, |
