about summary refs log tree commit diff
diff options
context:
space:
mode:
authorEthan Brierley <ethanboxx@gmail.com>2021-06-22 10:20:56 +0100
committerEthan Brierley <ethanboxx@gmail.com>2021-06-22 10:20:56 +0100
commit52a6885c50698abad26a91e0643d336df4d6f39e (patch)
tree52b95feb0172abbd4fed545228b7dc975e1329f2
parent85b06e9c015123f5bd216214f579e6f7fee0edb6 (diff)
downloadrust-52a6885c50698abad26a91e0643d336df4d6f39e.tar.gz
rust-52a6885c50698abad26a91e0643d336df4d6f39e.zip
postpone stabilizaton by one release
-rw-r--r--library/core/src/num/error.rs14
-rw-r--r--library/core/src/num/mod.rs2
-rw-r--r--library/std/src/num.rs2
3 files changed, 9 insertions, 9 deletions
diff --git a/library/core/src/num/error.rs b/library/core/src/num/error.rs
index 07902eec2e8..cdeba9c0792 100644
--- a/library/core/src/num/error.rs
+++ b/library/core/src/num/error.rs
@@ -80,14 +80,14 @@ pub struct ParseIntError {
 /// }
 /// # }
 /// ```
-#[stable(feature = "int_error_matching", since = "1.54.0")]
+#[stable(feature = "int_error_matching", since = "1.55.0")]
 #[derive(Debug, Clone, PartialEq, Eq)]
 #[non_exhaustive]
 pub enum IntErrorKind {
     /// Value being parsed is empty.
     ///
     /// This variant will be constructed when parsing an empty string.
-    #[stable(feature = "int_error_matching", since = "1.54.0")]
+    #[stable(feature = "int_error_matching", since = "1.55.0")]
     Empty,
     /// Contains an invalid digit in its context.
     ///
@@ -96,25 +96,25 @@ pub enum IntErrorKind {
     ///
     /// This variant is also constructed when a `+` or `-` is misplaced within a string
     /// either on its own or in the middle of a number.
-    #[stable(feature = "int_error_matching", since = "1.54.0")]
+    #[stable(feature = "int_error_matching", since = "1.55.0")]
     InvalidDigit,
     /// Integer is too large to store in target integer type.
-    #[stable(feature = "int_error_matching", since = "1.54.0")]
+    #[stable(feature = "int_error_matching", since = "1.55.0")]
     PosOverflow,
     /// Integer is too small to store in target integer type.
-    #[stable(feature = "int_error_matching", since = "1.54.0")]
+    #[stable(feature = "int_error_matching", since = "1.55.0")]
     NegOverflow,
     /// Value was Zero
     ///
     /// This variant will be emitted when the parsing string has a value of zero, which
     /// would be illegal for non-zero types.
-    #[stable(feature = "int_error_matching", since = "1.54.0")]
+    #[stable(feature = "int_error_matching", since = "1.55.0")]
     Zero,
 }
 
 impl ParseIntError {
     /// Outputs the detailed cause of parsing an integer failing.
-    #[stable(feature = "int_error_matching", since = "1.54.0")]
+    #[stable(feature = "int_error_matching", since = "1.55.0")]
     pub fn kind(&self) -> &IntErrorKind {
         &self.kind
     }
diff --git a/library/core/src/num/mod.rs b/library/core/src/num/mod.rs
index 464f241982d..6351f9564a4 100644
--- a/library/core/src/num/mod.rs
+++ b/library/core/src/num/mod.rs
@@ -57,7 +57,7 @@ pub use nonzero::{NonZeroI128, NonZeroI16, NonZeroI32, NonZeroI64, NonZeroI8, No
 #[stable(feature = "try_from", since = "1.34.0")]
 pub use error::TryFromIntError;
 
-#[stable(feature = "int_error_matching", since = "1.54.0")]
+#[stable(feature = "int_error_matching", since = "1.55.0")]
 pub use error::IntErrorKind;
 
 macro_rules! usize_isize_to_xe_bytes_doc {
diff --git a/library/std/src/num.rs b/library/std/src/num.rs
index aa6179ed8b1..e7051f0ce95 100644
--- a/library/std/src/num.rs
+++ b/library/std/src/num.rs
@@ -22,7 +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};
 
-#[stable(feature = "int_error_matching", since = "1.54.0")]
+#[stable(feature = "int_error_matching", since = "1.55.0")]
 pub use core::num::IntErrorKind;
 
 #[cfg(test)]