Niko Matsakis
|
becbd81aaa
|
Integrate projection bounds to ExistentialBounds but do not use them for anything.
|
2014-12-30 09:36:21 -05:00 |
|
Huon Wilson
|
91db254c81
|
More rebase fixes.
|
2014-12-30 00:11:30 +11:00 |
|
Huon Wilson
|
85970d49df
|
Intern Region in tcx.
This makes sty only 32 bytes on machines with 64-bit pointers.
|
2014-12-29 23:55:25 +11:00 |
|
Huon Wilson
|
ce3c949115
|
Intern BareFnTys to make sty slightly smaller.
This cuts the ty_bare_fn variant to 48 bytes rather than 56. There
doesn't seem to be a noticable memory usage decrease from this.
|
2014-12-29 23:55:24 +11:00 |
|
Huon Wilson
|
4f2b0f032a
|
Store Substs in an arena in the tcx.
This current inflates memory use more than 3 times.
|
2014-12-29 23:55:24 +11:00 |
|
Niko Matsakis
|
2e2906522d
|
Address nit.
|
2014-12-22 12:27:08 -05:00 |
|
Niko Matsakis
|
f46099575a
|
Make ty_bare_fn carry an optional def-id indicating whether it is the
type of a fn item or a fn pointer, which are now differentiated.
Introduce coercion from fn item to fn pointer.
|
2014-12-22 12:27:07 -05:00 |
|
Niko Matsakis
|
8c8cb997a5
|
Introduce a tcx() helper method to cleanup this mess.
|
2014-12-22 10:07:06 -05:00 |
|
Eduard Burtescu
|
e0d44386d3
|
rustc: use Ty instead of passing ty::sty around.
|
2014-12-20 07:04:42 +02:00 |
|
Niko Matsakis
|
3cf0fbeee9
|
Create distinct types for a PolyTraitRef (with bindings) and a normal TraitRef.
|
2014-12-19 03:29:30 -05:00 |
|
Niko Matsakis
|
eb6ea5d49b
|
Cleanup type resolution to use type folding infrastructure and not
have such a silly over-engineered interface.
|
2014-12-19 03:29:29 -05:00 |
|
Niko Matsakis
|
3efc9d2c55
|
Fix bug in higher-ranked code that would sometimes leak skolemized regions and/or cause incorrect results.
|
2014-12-19 03:29:29 -05:00 |
|
Alex Crichton
|
126a83f433
|
rollup merge of #19766: nick29581/coerce-raw
r?
|
2014-12-17 11:50:24 -08:00 |
|
Niko Matsakis
|
092d04a40a
|
Rename FnStyle trait to Unsafety.
|
2014-12-14 11:11:55 -05:00 |
|
Jorge Aparicio
|
1195708f64
|
librustc: use unboxed closures
|
2014-12-13 17:03:47 -05:00 |
|
Nick Cameron
|
19eb4bf0b2
|
Add coercions from *mut to *const and from &mut to *const.
|
2014-12-12 16:54:57 +13:00 |
|
Niko Matsakis
|
db75f8aa91
|
Move infer out of middle::typeck and into just middle .
|
2014-12-04 10:04:51 -05:00 |
|