about summary refs log tree commit diff
path: root/src/test/compile-fail/extfmt-non-literal.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/compile-fail/extfmt-non-literal.rs')
-rw-r--r--src/test/compile-fail/extfmt-non-literal.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/compile-fail/extfmt-non-literal.rs b/src/test/compile-fail/extfmt-non-literal.rs
index 445455f33d8..ceae0f62a24 100644
--- a/src/test/compile-fail/extfmt-non-literal.rs
+++ b/src/test/compile-fail/extfmt-non-literal.rs
@@ -4,5 +4,5 @@ fn main() {
     // #fmt's first argument must be a literal.  Hopefully this
     // restriction can be eased eventually to just require a
     // compile-time constant.
-    let x = #fmt["a" + "b"];
+    let x = fmt!{"a" + "b"};
 }