]> git.lizzy.rs Git - rust.git/commitdiff
auto merge of #13985 : alexcrichton/rust/libfmt, r=brson
authorbors <bors@rust-lang.org>
Thu, 8 May 2014 19:26:39 +0000 (12:26 -0700)
committerbors <bors@rust-lang.org>
Thu, 8 May 2014 19:26:39 +0000 (12:26 -0700)
This code does not belong in libstd, and rather belongs in a dedicated crate. In
the future, the syntax::ext::format module should move to the fmt_macros crate
(hence the name of the crate), but for now the fmt_macros crate will only
contain the format string parser.

The entire fmt_macros crate is marked #[experimental] because it is not meant
for general consumption, only the format!() interface is officially supported,
not the internals.

This is a breaking change for anyone using the internals of std::fmt::parse.
Some of the flags have moved to std::fmt::rt, while the actual parsing support
has all moved to the fmt_macros library.

[breaking-change]

1  2 
src/libsyntax/ext/format.rs

Simple merge