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
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
Niko Matsakis
2c5e784d6f
add const_fn features
2015-05-29 09:42:54 -04:00
Eduard Burtescu
377b0900ae
Use const fn
to abstract away the contents of UnsafeCell & friends.
2015-05-27 11:19:03 +03:00
Niko Matsakis
df93deab10
Make various fixes:
...
- add feature gate
- add basic tests
- adjust parser to eliminate conflict between `const fn` and associated
constants
- allow `const fn` in traits/trait-impls, but forbid later in type check
- correct some merge conflicts
2015-05-21 11:47:30 -04:00
Eduard Burtescu
08967c7a7f
tests: fix fallout from changed error messages.
2015-02-16 17:13:47 +02:00
Eduard Burtescu
4d8f995c3a
rustc: merge check_static into check_const.
2015-02-16 16:29:21 +02:00
Joseph Crail
fc0fd289c9
Fix for misspelled comments in tests.
...
Just spelling corrections.
2015-02-04 23:04:10 -05:00
Huon Wilson
0c70ce1424
Update compile fail tests to use isize.
2015-01-08 11:02:24 -05:00
Alex Crichton
0dc48b47a8
Test fixes and rebase conflicts
2015-01-07 19:27:27 -08: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
Alex Crichton
470ae101d6
Test fixes and rebase conflicts
2014-12-29 23:55:49 -08:00
Tamir Duberstein
01cdf00c2f
Regression test for #16538
...
Closes #16538 .
2014-12-28 09:43:54 -08:00
Flavio Percoco
607f60712c
Keep track of the whole error chain
2014-12-26 17:26:33 +01:00
Alex Crichton
d03a4b0046
test: Convert statics to constants
...
Additionally, add lots of tests for new functionality around statics and
`static mut`.
2014-10-09 09:44:52 -07:00
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
Brian Anderson
451e8c1c61
Convert most code to new inner attribute syntax.
...
Closes #2569
2014-03-28 17:12:21 -07:00
Flavio Percoco
0c7a0125b4
Closes #7364 Test case
2014-02-27 18:09:35 +01:00