rust/src/libcore/num
Alex Crichton 0cdde6e5e0 std: Stabilize FromStr and parse
This commits adds an associated type to the `FromStr` trait representing an
error payload for parses which do not succeed. The previous return value,
`Option<Self>` did not allow for this form of payload. After the associated type
was added, the following attributes were applied:

* `FromStr` is now stable
* `FromStr::Err` is now stable
* `FromStr::from_str` is now stable
* `StrExt::parse` is now stable
* `FromStr for bool` is now stable
* `FromStr for $float` is now stable
* `FromStr for $integral` is now stable
* Errors returned from stable `FromStr` implementations are stable
* Errors implement `Display` and `Error` (both impl blocks being `#[stable]`)

Closes #15138
2015-01-30 08:52:44 -08:00
..
f32.rs Merge remote-tracking branch 'rust-lang/master' 2015-01-25 22:14:06 -08:00
f64.rs Merge remote-tracking branch 'rust-lang/master' 2015-01-25 22:14:06 -08:00
float_macros.rs
i8.rs grandfathered -> rust1 2015-01-23 21:48:20 -08:00
i16.rs grandfathered -> rust1 2015-01-23 21:48:20 -08:00
i32.rs grandfathered -> rust1 2015-01-23 21:48:20 -08:00
i64.rs grandfathered -> rust1 2015-01-23 21:48:20 -08:00
int_macros.rs grandfathered -> rust1 2015-01-23 21:48:20 -08:00
int.rs Deprecated attributes don't take 'feature' names and are paired with stable/unstable 2015-01-23 15:50:03 -08:00
isize.rs grandfathered -> rust1 2015-01-23 21:48:20 -08:00
mod.rs std: Stabilize FromStr and parse 2015-01-30 08:52:44 -08:00
u8.rs grandfathered -> rust1 2015-01-23 21:48:20 -08:00
u16.rs grandfathered -> rust1 2015-01-23 21:48:20 -08:00
u32.rs grandfathered -> rust1 2015-01-23 21:48:20 -08:00
u64.rs grandfathered -> rust1 2015-01-23 21:48:20 -08:00
uint_macros.rs grandfathered -> rust1 2015-01-23 21:48:20 -08:00
uint.rs Deprecated attributes don't take 'feature' names and are paired with stable/unstable 2015-01-23 15:50:03 -08:00
usize.rs grandfathered -> rust1 2015-01-23 21:48:20 -08:00