]> git.lizzy.rs Git - rust.git/blobdiff - src/test/run-fail/fmt-fail.rs
Replace all ~"" with "".to_owned()
[rust.git] / src / test / run-fail / fmt-fail.rs
index e54c754f53bc18c3506b4492cba55c6a53041bc5..9c7979efb6c02293fb4066b4327d93669d0f31e5 100644 (file)
@@ -10,4 +10,4 @@
 
 // error-pattern:meh
 
-fn main() { let str_var: ~str = ~"meh"; fail!("{}", str_var); }
+fn main() { let str_var: ~str = "meh".to_owned(); fail!("{}", str_var); }