rust/src/libsyntax/parse
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
..
lexer std: Stabilize FromStr and parse 2015-01-30 08:52:44 -08:00
attr.rs use slicing sugar 2015-01-07 17:35:56 -05:00
classify.rs Teach libsyntax about while let 2014-10-10 20:30:31 -04:00
common.rs Allow trailing commas in array patterns and attributes 2014-11-30 22:28:54 +13:00
mod.rs std: Stabilize FromStr and parse 2015-01-30 08:52:44 -08:00
obsolete.rs libsyntax: uint types to usize 2015-01-17 23:45:29 +00:00
parser.rs std: Stabilize FromStr and parse 2015-01-30 08:52:44 -08:00
token.rs Use absolute path to FullRange, rather than assuming it is in the prelude 2015-01-30 12:00:20 +13:00