]> git.lizzy.rs Git - rust.git/blobdiff - src/libstd/num.rs
Format libstd/sys with rustfmt
[rust.git] / src / libstd / num.rs
index 828d5720eec1eeff9a2be7bb84aabd01e75418cc..2a2ca0b5237ee420f84f9fe4af8198f795f97c1b 100644 (file)
 
 #[stable(feature = "nonzero", since = "1.28.0")]
 pub use core::num::{NonZeroU8, NonZeroU16, NonZeroU32, NonZeroU64, NonZeroU128, NonZeroUsize};
+#[stable(feature = "signed_nonzero", since = "1.34.0")]
+pub use core::num::{NonZeroI8, NonZeroI16, NonZeroI32, NonZeroI64, NonZeroI128, NonZeroIsize};
+
+#[unstable(feature = "int_error_matching",
+           reason = "it can be useful to match errors when making error messages \
+                     for integer parsing",
+           issue = "22639")]
+pub use core::num::IntErrorKind;
 
 #[cfg(test)] use crate::fmt;
 #[cfg(test)] use crate::ops::{Add, Sub, Mul, Div, Rem};