diff options
| author | Patrick Walton <pcwalton@mimiga.net> | 2014-05-12 17:56:43 -0700 |
|---|---|---|
| committer | Patrick Walton <pcwalton@mimiga.net> | 2014-05-14 14:58:00 -0700 |
| commit | 95e310abdcbfe0f5ad511258097624719cbc84db (patch) | |
| tree | 31ee8e4157dbc7b8fe5b8d4abb34601fa863f7d2 /src/test/compile-fail/multitrait.rs | |
| parent | 2a7a39191a83fc2a63df6cb47acd344ae669d9c7 (diff) | |
| download | rust-95e310abdcbfe0f5ad511258097624719cbc84db.tar.gz rust-95e310abdcbfe0f5ad511258097624719cbc84db.zip | |
test: Remove all uses of `~str` from the test suite.
Diffstat (limited to 'src/test/compile-fail/multitrait.rs')
| -rw-r--r-- | src/test/compile-fail/multitrait.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/compile-fail/multitrait.rs b/src/test/compile-fail/multitrait.rs index a57e7ebe6a0..a0c007a2627 100644 --- a/src/test/compile-fail/multitrait.rs +++ b/src/test/compile-fail/multitrait.rs @@ -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() } } |
