1
Fork 0

stabilize int_error_matching

This commit is contained in:
Ethan Brierley 2021-05-18 10:37:28 +01:00
parent 14831568d5
commit b59f7d9662
7 changed files with 10 additions and 31 deletions

View file

@ -22,12 +22,7 @@ pub use core::num::{NonZeroI128, NonZeroI16, NonZeroI32, NonZeroI64, NonZeroI8,
#[stable(feature = "nonzero", since = "1.28.0")]
pub use core::num::{NonZeroU128, NonZeroU16, NonZeroU32, NonZeroU64, NonZeroU8, NonZeroUsize};
#[unstable(
feature = "int_error_matching",
reason = "it can be useful to match errors when making error messages \
for integer parsing",
issue = "22639"
)]
#[stable(feature = "int_error_matching", since = "1.54.0")]
pub use core::num::IntErrorKind;
#[cfg(test)]