rust/src/librustc/middle
bors 79a5448f41 auto merge of #17188 : thestinger/rust/tvec, r=pcwalton
`Box<[T]>` is created by allocating `Box<[T, ..n]>` and coercing it so
this code path is never used. It's also broken because it clamps the
capacity of the memory allocations to 4 elements and that's incompatible
with sized deallocation. This dates back to when `~[T]` was a growable
vector type implemented as:

*{ { tydesc, ref_count, prev, next }, { length, capacity, data[] } }

Since even empty vectors had to allocate, it started off the capacity of
all vectors at 4 as a heuristic. It's not possible to grow `Box<[T]>`
and there is no need for a memory allocation when it's empty, so it
would be a terrible heuristic today even if it worked.
2014-09-13 20:36:02 +00:00
..
borrowck Track the visited AST's lifetime throughout Visitor. 2014-09-12 14:24:45 +03:00
cfg Implement tuple and tuple struct indexing 2014-09-10 10:25:12 +12:00
save Track the visited AST's lifetime throughout Visitor. 2014-09-12 14:24:45 +03:00
trans auto merge of #17188 : thestinger/rust/tvec, r=pcwalton 2014-09-13 20:36:02 +00:00
typeck auto merge of #17175 : pcwalton/rust/region-bounds-on-closures, r=huonw 2014-09-13 08:06:00 +00:00
astencode.rs rollup merge of #17040 : kmcallister/borrow-extctxt 2014-09-09 12:07:11 -07:00
check_const.rs Track the visited AST's lifetime throughout Visitor. 2014-09-12 14:24:45 +03:00
check_loop.rs Track the visited AST's lifetime throughout Visitor. 2014-09-12 14:24:45 +03:00
check_match.rs Track the visited AST's lifetime throughout Visitor. 2014-09-12 14:24:45 +03:00
check_rvalues.rs Track the visited AST's lifetime throughout Visitor. 2014-09-12 14:24:45 +03:00
check_static.rs Track the visited AST's lifetime throughout Visitor. 2014-09-12 14:24:45 +03:00
const_eval.rs Track the visited AST's lifetime throughout Visitor. 2014-09-12 14:24:45 +03:00
dataflow.rs Track the visited AST's lifetime throughout Visitor. 2014-09-12 14:24:45 +03:00
dead.rs Track the visited AST's lifetime throughout Visitor. 2014-09-12 14:24:45 +03:00
def.rs middle: Derive Show impls 2014-07-15 18:54:47 -04:00
dependency_format.rs Fallout from the libcollections movement 2014-06-05 13:55:11 -07:00
effect.rs Track the visited AST's lifetime throughout Visitor. 2014-09-12 14:24:45 +03:00
entry.rs Track the visited AST's lifetime throughout Visitor. 2014-09-12 14:24:45 +03:00
expr_use_visitor.rs Implement tuple and tuple struct indexing 2014-09-10 10:25:12 +12:00
freevars.rs Track the visited AST's lifetime throughout Visitor. 2014-09-12 14:24:45 +03:00
graph.rs Implement generalized object and type parameter bounds (Fixes #16462) 2014-08-27 21:46:52 -04:00
intrinsicck.rs Track the visited AST's lifetime throughout Visitor. 2014-09-12 14:24:45 +03:00
kind.rs Track the visited AST's lifetime throughout Visitor. 2014-09-12 14:24:45 +03:00
lang_items.rs Track the visited AST's lifetime throughout Visitor. 2014-09-12 14:24:45 +03:00
liveness.rs Track the visited AST's lifetime throughout Visitor. 2014-09-12 14:24:45 +03:00
mem_categorization.rs Implement tuple and tuple struct indexing 2014-09-10 10:25:12 +12:00
pat_util.rs Remove the branch merging optimisations for slice patterns 2014-08-30 19:50:46 +02:00
privacy.rs Track the visited AST's lifetime throughout Visitor. 2014-09-12 14:24:45 +03:00
reachable.rs Track the visited AST's lifetime throughout Visitor. 2014-09-12 14:24:45 +03:00
region.rs Track the visited AST's lifetime throughout Visitor. 2014-09-12 14:24:45 +03:00
resolve_lifetime.rs Track the visited AST's lifetime throughout Visitor. 2014-09-12 14:24:45 +03:00
resolve.rs auto merge of #17134 : vberger/rust/lint_unused_extern_crate, r=alexcrichton 2014-09-12 19:05:53 +00:00
stability.rs Track the visited AST's lifetime throughout Visitor. 2014-09-12 14:24:45 +03:00
subst.rs rustc: fix fallout from the addition of a 'tcx lifetime on tcx. 2014-09-08 15:28:23 +03:00
ty_fold.rs rustc: fix fallout from the addition of a 'tcx lifetime on tcx. 2014-09-08 15:28:23 +03:00
ty.rs Handle always-unsized structs 2014-09-12 09:16:05 +12:00
weak_lang_items.rs Track the visited AST's lifetime throughout Visitor. 2014-09-12 14:24:45 +03:00