Skip to content

Commit 52a6885

Browse files
committed
postpone stabilizaton by one release
1 parent 85b06e9 commit 52a6885

File tree

3 files changed

+9
-9
lines changed

3 files changed

+9
-9
lines changed

library/core/src/num/error.rs

+7-7
Original file line numberDiff line numberDiff line change
@@ -80,14 +80,14 @@ pub struct ParseIntError {
8080
/// }
8181
/// # }
8282
/// ```
83-
#[stable(feature = "int_error_matching", since = "1.54.0")]
83+
#[stable(feature = "int_error_matching", since = "1.55.0")]
8484
#[derive(Debug, Clone, PartialEq, Eq)]
8585
#[non_exhaustive]
8686
pub enum IntErrorKind {
8787
/// Value being parsed is empty.
8888
///
8989
/// This variant will be constructed when parsing an empty string.
90-
#[stable(feature = "int_error_matching", since = "1.54.0")]
90+
#[stable(feature = "int_error_matching", since = "1.55.0")]
9191
Empty,
9292
/// Contains an invalid digit in its context.
9393
///
@@ -96,25 +96,25 @@ pub enum IntErrorKind {
9696
///
9797
/// This variant is also constructed when a `+` or `-` is misplaced within a string
9898
/// either on its own or in the middle of a number.
99-
#[stable(feature = "int_error_matching", since = "1.54.0")]
99+
#[stable(feature = "int_error_matching", since = "1.55.0")]
100100
InvalidDigit,
101101
/// Integer is too large to store in target integer type.
102-
#[stable(feature = "int_error_matching", since = "1.54.0")]
102+
#[stable(feature = "int_error_matching", since = "1.55.0")]
103103
PosOverflow,
104104
/// Integer is too small to store in target integer type.
105-
#[stable(feature = "int_error_matching", since = "1.54.0")]
105+
#[stable(feature = "int_error_matching", since = "1.55.0")]
106106
NegOverflow,
107107
/// Value was Zero
108108
///
109109
/// This variant will be emitted when the parsing string has a value of zero, which
110110
/// would be illegal for non-zero types.
111-
#[stable(feature = "int_error_matching", since = "1.54.0")]
111+
#[stable(feature = "int_error_matching", since = "1.55.0")]
112112
Zero,
113113
}
114114

115115
impl ParseIntError {
116116
/// Outputs the detailed cause of parsing an integer failing.
117-
#[stable(feature = "int_error_matching", since = "1.54.0")]
117+
#[stable(feature = "int_error_matching", since = "1.55.0")]
118118
pub fn kind(&self) -> &IntErrorKind {
119119
&self.kind
120120
}

library/core/src/num/mod.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ pub use nonzero::{NonZeroI128, NonZeroI16, NonZeroI32, NonZeroI64, NonZeroI8, No
5757
#[stable(feature = "try_from", since = "1.34.0")]
5858
pub use error::TryFromIntError;
5959

60-
#[stable(feature = "int_error_matching", since = "1.54.0")]
60+
#[stable(feature = "int_error_matching", since = "1.55.0")]
6161
pub use error::IntErrorKind;
6262

6363
macro_rules! usize_isize_to_xe_bytes_doc {

library/std/src/num.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ pub use core::num::{NonZeroI128, NonZeroI16, NonZeroI32, NonZeroI64, NonZeroI8,
2222
#[stable(feature = "nonzero", since = "1.28.0")]
2323
pub use core::num::{NonZeroU128, NonZeroU16, NonZeroU32, NonZeroU64, NonZeroU8, NonZeroUsize};
2424

25-
#[stable(feature = "int_error_matching", since = "1.54.0")]
25+
#[stable(feature = "int_error_matching", since = "1.55.0")]
2626
pub use core::num::IntErrorKind;
2727

2828
#[cfg(test)]

0 commit comments

Comments
 (0)