diff options
Diffstat (limited to 'src/test/compile-fail/ifmt-bad-select.rs')
| -rw-r--r-- | src/test/compile-fail/ifmt-bad-select.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/compile-fail/ifmt-bad-select.rs b/src/test/compile-fail/ifmt-bad-select.rs index abe3b6ed65a..8a72b7920d7 100644 --- a/src/test/compile-fail/ifmt-bad-select.rs +++ b/src/test/compile-fail/ifmt-bad-select.rs @@ -9,6 +9,6 @@ // except according to those terms. fn main() { - ifmt!("{0, select, other{}}", 2); + format!("{0, select, other{}}", 2); //~^ ERROR: expected &str but found integral } |
