Make ParseIntError and IntErrorKind fully public
This commit is contained in:
@@ -4768,11 +4768,11 @@ fn from_str_radix<T: FromStrRadixHelper>(src: &str, radix: u32) -> Result<T, Par
|
|||||||
#[derive(Debug, Clone, PartialEq, Eq)]
|
#[derive(Debug, Clone, PartialEq, Eq)]
|
||||||
#[stable(feature = "rust1", since = "1.0.0")]
|
#[stable(feature = "rust1", since = "1.0.0")]
|
||||||
pub struct ParseIntError {
|
pub struct ParseIntError {
|
||||||
kind: IntErrorKind,
|
pub kind: IntErrorKind,
|
||||||
}
|
}
|
||||||
|
|
||||||
#[derive(Debug, Clone, PartialEq, Eq)]
|
#[derive(Debug, Clone, PartialEq, Eq)]
|
||||||
enum IntErrorKind {
|
pub enum IntErrorKind {
|
||||||
Empty,
|
Empty,
|
||||||
InvalidDigit,
|
InvalidDigit,
|
||||||
Overflow,
|
Overflow,
|
||||||
|
|||||||
Reference in New Issue
Block a user