Richo Healey
12c334a77b
std: Rename the ToStr
trait to ToString
, and to_str
to to_string
.
...
[breaking-change]
2014-07-08 13:01:43 -07:00
Richo Healey
1f1b2e42d7
std: Rename strbuf operations to string
...
[breaking-change]
2014-05-27 12:59:31 -07:00
Richo Healey
553074506e
core: rename strbuf::StrBuf to string::String
...
[breaking-change]
2014-05-24 21:48:10 -07:00
Patrick Walton
95e310abdc
test: Remove all uses of ~str
from the test suite.
2014-05-14 14:58:00 -07:00
Patrick Walton
090040bf40
librustc: Remove ~EXPR
, ~TYPE
, and ~PAT
from the language, except
...
for `~str`/`~[]`.
Note that `~self` still remains, since I forgot to add support for
`Box<self>` before the snapshot.
How to update your code:
* Instead of `~EXPR`, you should write `box EXPR`.
* Instead of `~TYPE`, you should write `Box<Type>`.
* Instead of `~PATTERN`, you should write `box PATTERN`.
[breaking-change]
2014-05-06 23:12:54 -07:00
Richo Healey
919889a1d6
Replace all ~"" with "".to_owned()
2014-04-18 17:25:34 -07:00
Alex Crichton
9cc26cfdf4
test: Clean out the test suite a bit
...
This updates a number of ignore-test tests, and removes a few completely
outdated tests due to the feature being tested no longer being supported.
This brings a number of bench/shootout tests up to date so they're compiling
again. I make no claims to the performance of these benchmarks, it's just nice
to not have bitrotted code.
Closes #2604
Closes #9407
2014-02-25 09:21:09 -08:00
Florian Hahn
f62460c1f5
Change xfail
directives in compiletests to ignore
, closes #11363
2014-02-11 18:23:20 +01:00
Patrick Walton
08c840205e
librustc: Lint the old drop
destructor notation off
2013-03-11 09:36:00 -07:00
Patrick Walton
1274d4a006
test: Fix tests. rs=tests
2013-03-11 09:36:00 -07:00
Patrick Walton
e48446d060
test: Remove newtype enums from the test suite. rs=deenum
2013-03-11 09:35:58 -07:00
Patrick Walton
9143688197
librustc: Replace impl Type : Trait
with impl Trait for Type
. rs=implflipping
2013-02-14 14:44:12 -08:00
Graydon Hoare
d1affff623
Reliciense makefiles and testsuite. Yup.
2012-12-10 17:32:58 -08:00
Brian Anderson
6a0720b439
Convert impls to new syntax
2012-08-08 18:19:24 -07:00
Patrick Walton
db020ab63c
rustc: Implement and enforce instance coherence
2012-07-17 15:46:43 -07:00
Michael Sullivan
6822ec3eb4
Treat bare vector and string literals as fixed length vecs. Closes #2922 .
2012-07-14 14:30:48 -07:00
Michael Sullivan
d884085f43
Tear out ty_str and ty_vec.
2012-07-14 12:19:36 -07:00
Gareth Daniel Smith
6d86969260
change the test suite //! kind
syntax to //~ kind
in order to avoid a
...
conflict with the new single-line-sugared-inner-doc-comment (`//! ...`).
2012-06-30 12:23:59 +01:00
Niko Matsakis
23f92ea370
Detect and report types which could never be instantiated.
...
Fixes #2063 .
2012-03-28 17:02:54 -07:00