Ariel Ben-Yehuda
b23648fe4a
improve the printing of substs and trait-refs
2016-04-05 22:56:23 +03:00
Ariel Ben-Yehuda
8a461d940c
suggest adding a where-clause when that can help
...
suggest adding a where-clause when there is an unmet trait-bound that
can be satisfied if some type can implement it.
2016-04-05 20:58:58 +03:00
Jeffrey Seyfried
da41e583d6
Fix fallout in tests
2016-03-30 22:00:48 +00:00
Niko Matsakis
13cee1e198
This new caching sometimes suppresses duplicate errors that occur in
...
different parts of the crate, so modify the test cases that were relying
on that to test distinct types etc.
2015-06-15 17:31:27 -04:00
Huon Wilson
85f961e2cc
Update compile fail tests to use usize.
2015-01-08 11:02:24 -05:00
Huon Wilson
0c70ce1424
Update compile fail tests to use isize.
2015-01-08 11:02:24 -05:00
Nick Cameron
9f07d055f7
markers -> marker
2015-01-07 12:10:31 +13:00
Nick Cameron
503709708c
Change std::kinds
to std::markers
; flatten std::kinds::marker
...
[breaking-change]
2015-01-07 09:45:28 +13:00
Nick Cameron
e0684e8769
Fallout
2015-01-06 14:20:48 +13:00
Niko Matsakis
594e21f19b
Correct various compile-fail tests. Most of the changes are because we
...
now don't print duplicate errors within one context, so I sometimes
had to break functions into two functions.
2014-12-02 19:05:14 -05:00
Steven Fackler
579c65da1b
Un-feature gate struct variants
...
Struct variant field visibility is now inherited. Remove `pub` keywords
from declarations.
Closes #18641
[breaking-change]
2014-11-15 18:15:27 -08:00
Niko Matsakis
3694f42b8c
Move checking of whether fields are Sized or not into wf / trait code.
2014-09-25 07:09:13 -04:00
Nick Cameron
4028ebc603
Handle always-unsized structs
...
closes #16977
2014-09-12 09:16:05 +12: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
Nick Cameron
a08198ba6f
Prevent unsized types being stored in variables
...
Closes #13376 .
2014-04-24 11:57:22 +12: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