Brian Anderson
8c93a79e38
rustdoc: Replace no-pretty-expanded with pretty-expanded
...
Now that features must be declared expanded source often does not compile.
This adds 'pretty-expanded' to a bunch of test cases that still work.
2015-03-23 14:40:26 -07:00
Richo Healey
5b7bfc88c6
test: Test the lexer now that #15879 is closed
2015-03-08 17:10:32 -07:00
Niko Matsakis
872ce47955
Fallout: tests. As tests frequently elide things, lots of changes
...
here. Some of this may have been poorly rebased, though I tried to be
careful and preserve the spirit of the test.
2015-02-18 10:25:28 -05:00
Felix S. Klock II
a7a2dd96ec
fallout: run-pass tests that use box. (many could be ported to Box::new
instead in the future.)
2015-01-08 02:31:37 +01:00
Alex Crichton
4b359e3aee
More test fixes!
2015-01-05 22:58:37 -08:00
Nick Cameron
4688aadfde
Update tests to use ?Sized
2014-12-26 10:16:24 +13:00
Simon Wollwage
f950e3c495
removed struct_variant feature from tests
2014-11-20 00:56:50 +01:00
Corey Richardson
35c0bf3292
Add a ton of ignore-lexer-test
2014-07-21 18:38:40 -07:00
Nick Cameron
a0cfda53c4
Change DST syntax: type -> Sized?
...
closes #13367
[breaking-change] Use `Sized?` to indicate a dynamically sized type parameter or trait (used to be `type`). E.g.,
```
trait Tr for Sized? {}
fn foo<Sized? X: Share>(x: X) {}
```
2014-07-08 22:44:31 +12: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
Nick Cameron
5729d9b413
Review changes
2014-04-23 15:44:24 +12:00
Nick Cameron
0540a59382
Check for unsized types in enums.
...
And allow the last field of a struct or variant to be unsized.
2014-04-23 12:30:58 +12:00
Nick Cameron
f78add10cd
Support unsized types with the type
keyword
2014-04-23 12:30:58 +12:00