rust/src/librustc/middle
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
..
cfg Add the span of the operator itself to ast::BinOp. 2015-01-25 00:33:50 +11:00
infer std: Stabilize FromStr and parse 2015-01-30 08:52:44 -08:00
traits s/Show/Debug/g 2015-01-29 07:49:02 -05:00
astconv_util.rs use slicing sugar 2015-01-07 17:35:56 -05:00
astencode.rs Auto merge of #21677 - japaric:no-range, r=alexcrichton 2015-01-29 16:28:52 +00:00
check_const.rs syntax: add fully qualified UFCS expressions. 2015-01-15 18:51:14 +02:00
check_loop.rs Add error codes to rustc 2015-01-20 11:27:51 -08:00
check_match.rs range(a, b).foo() -> (a..b).foo() 2015-01-29 07:46:44 -05:00
check_rvalues.rs
check_static_recursion.rs Add error codes to rustc 2015-01-20 11:27:51 -08:00
check_static.rs Fix typedef/module name conflicts in the compiler 2015-01-18 18:26:34 -08:00
const_eval.rs Rename found_ast to FoundAst and qualify uses. 2015-01-28 09:37:04 +01:00
dataflow.rs s/Show/Debug/g 2015-01-29 07:49:02 -05:00
dead.rs Remove "unboxed" attribute in code referring to new closures. 2015-01-26 04:15:09 +02:00
def.rs s/Show/Debug/g 2015-01-29 07:49:02 -05:00
dependency_format.rs convert remaining range(a, b) to a..b 2015-01-29 07:49:01 -05:00
effect.rs syntax: add fully qualified UFCS expressions. 2015-01-15 18:51:14 +02:00
entry.rs
expr_use_visitor.rs s/Show/Debug/g 2015-01-29 07:49:02 -05:00
fast_reject.rs Remove "unboxed" attribute in code referring to new closures. 2015-01-26 04:15:09 +02:00
graph.rs s/Show/Debug/g 2015-01-29 07:49:02 -05:00
intrinsicck.rs
lang_items.rs Rename FullRange to RangeFull 2015-01-30 12:01:08 +13:00
liveness.rs s/Show/Debug/g 2015-01-29 07:49:02 -05:00
mem_categorization.rs s/Show/Debug/g 2015-01-29 07:49:02 -05:00
pat_util.rs Fix typedef/module name conflicts in the compiler 2015-01-18 18:26:34 -08:00
privacy.rs s/Show/Debug/g 2015-01-29 07:49:02 -05:00
reachable.rs rustc: fix fallout of merging ast::ViewItem into ast::Item. 2015-01-21 16:27:26 +02:00
recursion_limit.rs std: Stabilize FromStr and parse 2015-01-30 08:52:44 -08:00
region.rs s/Show/Debug/g 2015-01-29 07:49:02 -05:00
resolve_lifetime.rs s/Show/Debug/g 2015-01-29 07:49:02 -05:00
stability.rs Merge remote-tracking branch 'rust-lang/master' 2015-01-26 15:42:32 -08:00
subst.rs s/Show/Debug/g 2015-01-29 07:49:02 -05:00
ty_fold.rs Add Clone to the list of bounds for a TypeFolder. (Kill?) 2015-01-28 05:15:24 -05:00
ty_walk.rs Auto merge of #21598 - eddyb:there-are-no-boxed-closures, r=brson 2015-01-26 04:49:37 +00:00
ty.rs Auto merge of #21677 - japaric:no-range, r=alexcrichton 2015-01-29 16:28:52 +00:00
weak_lang_items.rs Add error codes to rustc 2015-01-20 11:27:51 -08:00