0cdde6e5e0
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 |
||
---|---|---|
.. | ||
f32.rs | ||
f64.rs | ||
float_macros.rs | ||
i8.rs | ||
i16.rs | ||
i32.rs | ||
i64.rs | ||
int_macros.rs | ||
int.rs | ||
isize.rs | ||
mod.rs | ||
u8.rs | ||
u16.rs | ||
u32.rs | ||
u64.rs | ||
uint_macros.rs | ||
uint.rs | ||
usize.rs |