Eduard Burtescu
58bea31ca0
tests: remove uses of Gc.
2014-10-02 17:02:15 +03:00
Brian Anderson
aa48654740
Remove managed_box gate from tests
...
No longer does anything.
2014-07-26 21:05:29 -07:00
Alex Crichton
ade807c6dc
rustc: Obsolete the @
syntax entirely
...
This removes all remnants of `@` pointers from rustc. Additionally, this removes
the `GC` structure from the prelude as it seems odd exporting an experimental
type in the prelude by default.
Closes #14193
[breaking-change]
2014-06-14 10:45:37 -07:00
Patrick Walton
95e310abdc
test: Remove all uses of ~str
from the test suite.
2014-05-14 14:58:00 -07:00
klutzy
0350d8e6d0
test: Add missing #![feature(managed_boxes)]
...
The tests use managed boxes, but are not perfectly feature-gated because
they use `@` inside macros. (It causes issue after `--pretty expanded`.)
2014-05-13 17:24:08 -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
Manish Goregaokar
713e87526e
Use new attribute syntax in python files in src/etc too ( #13478 )
2014-04-14 21:00:31 +05:30
Huon Wilson
6d778ff610
Remove outdated and unnecessary std::vec_ng::Vec imports.
...
(And fix some tests.)
2014-03-22 01:08:57 +11:00
Patrick Walton
af79a5aa7d
test: Make manual changes to deal with the fallout from removal of
...
`~[T]` in test, libgetopts, compiletest, librustdoc, and libnum.
2014-03-21 23:37:21 +11:00
Patrick Walton
579eb2400b
test: Automatically remove all ~[T]
from tests.
2014-03-21 23:37:21 +11:00
Huon Wilson
b972cadf61
Update/delete tests using @[].
2014-02-02 02:59:03 +11:00
Patrick Walton
7a80fa647a
test: Remove @str
from the test suite
2014-02-02 01:44:49 +11:00
Brian Anderson
34d376f3cf
std: Move size/align functions to std::mem. #2240
2013-10-17 17:31:35 -07:00
Alex Crichton
3396365cab
Add appropriate #[feature] directives to tests
2013-10-06 14:39:25 -07:00
Patrick Walton
206ab89629
librustc: Stop reexporting the standard modules from prelude.
2013-05-29 19:04:53 -07:00
Corey Richardson
cc57ca012a
Use assert_eq! rather than assert! where possible
2013-05-19 08:16:02 -04:00
Jed Davis
edc1324e7e
Add some tests for nullable-pointer enums
2013-04-22 08:51:34 -07:00