rust/src/libcoretest
Alex Crichton 4af3494bb0 std: Stabilize std::fmt
This commit applies the stabilization of std::fmt as outlined in [RFC 380][rfc].
There are a number of breaking changes as a part of this commit which will need
to be handled to migrated old code:

* A number of formatting traits have been removed: String, Bool, Char, Unsigned,
  Signed, and Float. It is recommended to instead use Show wherever possible or
  to use adaptor structs to implement other methods of formatting.

* The format specifier for Boolean has changed from `t` to `b`.

* The enum `FormatError` has been renamed to `Error` as well as becoming a unit
  struct instead of an enum. The `WriteError` variant no longer exists.

* The `format_args_method!` macro has been removed with no replacement. Alter
  code to use the `format_args!` macro instead.

* The public fields of a `Formatter` have become read-only with no replacement.
  Use a new formatting string to alter the formatting flags in combination with
  the `write!` macro. The fields can be accessed through accessor methods on the
  `Formatter` structure.

Other than these breaking changes, the contents of std::fmt should now also all
contain stability markers. Most of them are still #[unstable] or #[experimental]

[rfc]: https://github.com/rust-lang/rfcs/blob/master/text/0380-stabilize-std-fmt.md
[breaking-change]

Closes #18904
2014-11-18 21:16:22 -08:00
..
fmt std: Stabilize std::fmt 2014-11-18 21:16:22 -08:00
num Move FromStr to core::str 2014-11-16 12:41:55 +11:00
any.rs Rename fail! to panic! 2014-10-29 11:43:07 -04:00
atomic.rs Register new snapshots 2014-10-10 22:09:49 -07:00
cell.rs impl Default for Cell and RefCell 2014-11-14 22:22:42 +03:00
char.rs Fix fallout from coercion removal 2014-11-17 22:41:33 +13:00
clone.rs Extract tests from libcore to a separate crate 2014-06-29 15:57:21 -07:00
cmp.rs Remove Signed trait and add SignedInt trait 2014-11-13 03:46:03 +11:00
finally.rs Rename fail! to panic! 2014-10-29 11:43:07 -04:00
iter.rs add Cloned iterator adaptor 2014-11-18 08:34:44 -05:00
lib.rs Put slicing syntax behind a feature gate. 2014-10-07 15:49:53 +13:00
mem.rs Clean up rustc warnings. 2014-10-13 14:16:22 +08:00
ops.rs Extract tests from libcore to a separate crate 2014-06-29 15:57:21 -07:00
option.rs make cloned generic over deref... and have its tests actually run 2014-11-18 08:34:42 -05:00
ptr.rs Remove a large amount of deprecated functionality 2014-10-19 12:59:40 -07:00
raw.rs Extract tests from libcore to a separate crate 2014-06-29 15:57:21 -07:00
result.rs Rename fail! to panic! 2014-10-29 11:43:07 -04:00
slice.rs core: Add binary_search and binary_search_elem methods to slices. 2014-08-13 11:30:15 -07:00
str.rs Move FromStr to core::str 2014-11-16 12:41:55 +11:00
tuple.rs Extract tests from libcore to a separate crate 2014-06-29 15:57:21 -07:00