]> git.lizzy.rs Git - rust.git/blobdiff - src/test/run-fail/issue-3029.rs
Replace all ~"" with "".to_owned()
[rust.git] / src / test / run-fail / issue-3029.rs
index 0385059736cfbae5c846302076bd332002ddcd6d..b3b1fd2082b8c7006bda013489f8f20d2ec8b551 100644 (file)
@@ -19,5 +19,5 @@ fn main() {
     let y = vec!(3);
     fail!("so long");
     x.push_all_move(y);
-    ~"good" + ~"bye";
+    "good".to_owned() + "bye".to_owned();
 }