rust/src/libcore
Jakub Bukaj a22f06db19 rollup merge of #19040: alexcrichton/issue-18904
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-19 22:38:26 +01:00
..
fmt std: Stabilize std::fmt 2014-11-18 21:16:22 -08:00
num auto merge of #19031 : nodakai/rust/libcore-pow-and-sq, r=bjz 2014-11-18 13:41:38 +00:00
tuple Update code with new lint names 2014-10-28 08:54:21 -07:00
any.rs libs: fix #[stable] inheritance fallout 2014-11-14 20:39:41 -08:00
array.rs Add Show and Clone trait to arrays 2014-11-14 12:37:59 +01:00
atomic.rs Switch to purely namespaced enums 2014-11-17 07:35:51 -08:00
bool.rs std: Stabilize unit, bool, ty, tuple, arc, any 2014-07-26 13:12:20 -07:00
borrow.rs Fix compilation and tests after the roll-up 2014-11-18 01:14:14 +01:00
cell.rs rollup merge of #18970: aturon/fixup-stable 2014-11-16 10:21:33 +01:00
char.rs Fix remaining documentation to reflect fail!() -> panic!() 2014-11-12 03:36:09 +09:00
clone.rs DSTify impl Clone for &T 2014-11-17 14:35:27 -05:00
cmp.rs Switch to purely namespaced enums 2014-11-17 07:35:51 -08:00
default.rs Switch to purely namespaced enums 2014-11-17 07:35:51 -08:00
finally.rs Fix fallout from coercion removal 2014-11-17 22:41:33 +13:00
intrinsics.rs Fix fallout from coercion removal 2014-11-17 22:41:33 +13:00
iter.rs add Cloned iterator adaptor 2014-11-18 08:34:44 -05:00
kinds.rs Implement more basic traits for the marker types. 2014-11-17 09:25:49 +11:00
lib.rs libcore: add borrow module 2014-11-17 11:26:30 -08:00
macros.rs std: Stabilize std::fmt 2014-11-18 21:16:22 -08:00
mem.rs Fixed a few typos in libcore 2014-11-16 16:51:22 -08:00
ops.rs Further DSTify Index traits 2014-11-17 11:26:48 -08:00
option.rs make cloned generic over deref... and have its tests actually run 2014-11-18 08:34:42 -05:00
panicking.rs Register snapshots. 2014-11-05 12:55:58 +02:00
prelude.rs Switch to purely namespaced enums 2014-11-17 07:35:51 -08:00
ptr.rs Rename fail! to panic! 2014-10-29 11:43:07 -04:00
raw.rs rollup merge of #18398 : aturon/lint-conventions-2 2014-10-30 17:37:22 -07:00
result.rs rollup merge of #18903: steveklabnik/error_handling_guide 2014-11-19 22:37:07 +01:00
simd.rs Update code with new lint names 2014-10-28 08:54:21 -07:00
slice.rs Switch to purely namespaced enums 2014-11-17 07:35:51 -08:00
str.rs rollup merge of #18911: canndrew/slice_shift_char 2014-11-18 00:23:55 +01:00
ty.rs std: Stabilize unit, bool, ty, tuple, arc, any 2014-07-26 13:12:20 -07:00