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
3046ac217f
Detect cycles and specialize error reporting for Sized. It is important
...
to get the `Sized` error usable, since that hits new users
frequently. Further work is needed for the error reporting for non-Sized
cycle cases; those currently just fallback to the old path. Also adjust tests.
2016-01-16 05:22:32 -05:00
P1start
57d8289754
Make UnsafeCell
, RefCell
, Mutex
, and RwLock
accept DSTs
...
This + DST coercions (#24619 ) would allow code like `Rc<RefCell<Box<Trait>>>` to
be simplified to `Rc<RefCell<Trait>>`.
2015-05-02 10:03:35 +12:00
Alex Crichton
0791f9f406
test: Fix fallout in tests
2015-04-21 11:37:43 -07:00
Luke Gallagher
2a9e1011b1
Remove ignore-tidy-linelength
from tests that no longer need it
2015-04-09 08:21:59 +10: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
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
Niko Matsakis
b88f86782e
Update error messages in compile-fail tests
2014-09-15 14:58:49 -04:00
Nick Cameron
cc598e6f8e
Second approach - using type contents
2014-09-01 09:48:19 +12:00
Nick Cameron
bdfeb65585
Forbid the Sized bound on unsized types
...
closes #16800
2014-08-28 18:50:00 +12:00