@@ -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]
8686pub 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
115115impl 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 }
0 commit comments