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
Alex Crichton
0791f9f406
test: Fix fallout in tests
2015-04-21 11:37:43 -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
Huon Wilson
7a14f4994e
Update tests for the Send - 'static change.
2015-02-18 11:27:51 +11:00
Niko Matsakis
503e15b7c9
Address nits by @pnkfelix
2015-02-16 11:58:47 -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
5c3d398919
Mostly rote conversion of proc()
to move||
(and occasionally Thunk::new
)
2014-12-14 04:21:56 -05:00
Niko Matsakis
9f492fefef
Switch to using predicates to drive checking. Correct various tests --
...
in most cases, just the error message changed, but in some cases we
are reporting new errors that OUGHT to have been reported before but
we're overlooked (mostly involving the `'static` bound on `Send`).
2014-12-12 20:25:21 -05:00
Niko Matsakis
f4e29e7e9a
Fixup various places that were doing &T+'a
and do &(T+'a)
2014-11-26 11:42:06 -05:00
Niko Matsakis
effb3636cc
Integrate builtin bounds fully into the trait checker
2014-09-25 07:06:27 -04:00
Niko Matsakis
b88f86782e
Update error messages in compile-fail tests
2014-09-15 14:58:49 -04:00
Niko Matsakis
4c01251416
Introduce new inference scheme: variables are now instantiated with at most one type, and region variables are introduced as needed
2014-08-29 10:21:54 -04:00