]> git.lizzy.rs Git - rust.git/blobdiff - src/test/run-fail/binop-fail.rs
test: Remove all uses of `~str` from the test suite.
[rust.git] / src / test / run-fail / binop-fail.rs
index 1186c5008f73e0b3809f0875c54ead866e235835..680481ad491b90e19d7edcc1531343eda17ac05a 100644 (file)
@@ -9,5 +9,5 @@
 // except according to those terms.
 
 // error-pattern:quux
-fn my_err(s: ~str) -> ! { println!("{}", s); fail!("quux"); }
-fn main() { 3u == my_err("bye".to_owned()); }
+fn my_err(s: StrBuf) -> ! { println!("{}", s); fail!("quux"); }
+fn main() { 3u == my_err("bye".to_strbuf()); }