diff options
| author | Marijn Haverbeke <marijnh@gmail.com> | 2011-07-27 14:48:34 +0200 |
|---|---|---|
| committer | Marijn Haverbeke <marijnh@gmail.com> | 2011-07-27 15:54:33 +0200 |
| commit | 6e2a7bff7faf040b1eced0ee3547b28f6962cedc (patch) | |
| tree | bd05a425b4ad236d7e861ffdf0931bf71ad3bba9 /src/comp/syntax/ext | |
| parent | df7f21db093b0f206048b18e977161f91b7c28f1 (diff) | |
Fix damage done by the pretty-printer
Diffstat (limited to 'src/comp/syntax/ext')
| -rw-r--r-- | src/comp/syntax/ext/fmt.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/comp/syntax/ext/fmt.rs b/src/comp/syntax/ext/fmt.rs index 4374030d10a..8fb396392d7 100644 --- a/src/comp/syntax/ext/fmt.rs +++ b/src/comp/syntax/ext/fmt.rs @@ -329,9 +329,9 @@ fn pieces_to_expr(cx: &ext_ctxt, sp: span, pieces: vec[piece], let expected_nargs = n + 1u; // n conversions + the fmt string if expected_nargs < nargs { - cx.span_fatal(sp, - #fmt("too many arguments to #fmt. found %u, expected %u", - nargs, expected_nargs)); + cx.span_fatal + (sp, #fmt("too many arguments to #fmt. found %u, expected %u", + nargs, expected_nargs)); } ret tmp_expr; } |
