diff options
| author | bors <bors@rust-lang.org> | 2014-05-29 03:31:39 -0700 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2014-05-29 03:31:39 -0700 |
| commit | ff2bf58e9e0c1e7b154b88fc7ba8c52584e9f768 (patch) | |
| tree | 4912545d81ef12954c9204cf7c9a98b5ae16911e /src/libsyntax/ext | |
| parent | d35a38087088301aa58f244ae99d48b282df6fb2 (diff) | |
| parent | 42aed6bde2fb05a262e21334656cdf91f51744dd (diff) | |
| download | rust-ff2bf58e9e0c1e7b154b88fc7ba8c52584e9f768.tar.gz rust-ff2bf58e9e0c1e7b154b88fc7ba8c52584e9f768.zip | |
auto merge of #14481 : alexcrichton/rust/no-format-strbuf, r=sfackler
* Removes `format_strbuf!()`
Diffstat (limited to 'src/libsyntax/ext')
| -rw-r--r-- | src/libsyntax/ext/format.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libsyntax/ext/format.rs b/src/libsyntax/ext/format.rs index f21239af6af..c05fc8ce6d9 100644 --- a/src/libsyntax/ext/format.rs +++ b/src/libsyntax/ext/format.rs @@ -895,8 +895,8 @@ pub fn expand_preparsed_format_args(ecx: &mut ExtCtxt, sp: Span, match parser.errors.shift() { Some(error) => { cx.ecx.span_err(efmt.span, - format_strbuf!("invalid format string: {}", - error).as_slice()); + format!("invalid format string: {}", + error).as_slice()); return DummyResult::raw_expr(sp); } None => {} |
