]> git.lizzy.rs Git - rust.git/blobdiff - src/test/compile-fail/multitrait.rs
test: Remove all uses of `~str` from the test suite.
[rust.git] / src / test / compile-fail / multitrait.rs
index a57e7ebe6a04f3264f2889d7c97e61605eecfaa5..a0c007a2627e02e676b74fae5ea7d748532ebb32 100644 (file)
@@ -14,5 +14,5 @@ struct S {
 
 impl Cmp, ToStr for S { //~ ERROR: expected `{` but found `,`
   fn eq(&&other: S) { false }
-  fn to_str(&self) -> ~str { "hi".to_owned() }
+  fn to_str(&self) -> StrBuf { "hi".to_owned() }
 }