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/minus-string.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/minus-string.rs')
| -rw-r--r-- | src/test/compile-fail/minus-string.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/test/compile-fail/minus-string.rs b/src/test/compile-fail/minus-string.rs index 636debc77e0..b194b2d8331 100644 --- a/src/test/compile-fail/minus-string.rs +++ b/src/test/compile-fail/minus-string.rs @@ -8,6 +8,6 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. -// error-pattern:cannot apply unary operator `-` to type `~str` +// error-pattern:cannot apply unary operator `-` to type `std::strbuf::StrBuf` -fn main() { -"foo".to_owned(); } +fn main() { -"foo".to_strbuf(); } |
