]> git.lizzy.rs Git - rust.git/commit
auto merge of #13636 : nick29581/rust/ty_vec, r=pcwalton
authorbors <bors@rust-lang.org>
Sun, 20 Apr 2014 20:46:30 +0000 (13:46 -0700)
committerbors <bors@rust-lang.org>
Sun, 20 Apr 2014 20:46:30 +0000 (13:46 -0700)
commit02081e7c41d5780ae59fd8e6f68193a8fe737ced
tree779e3d192adfbab1780e8dd9b357e291be3b418a
parent50671dc626d0922b31fd6952711836db19495878
parent37306c1d25a6bb8d1e96adaff6a360d6163b8f29
auto merge of #13636 : nick29581/rust/ty_vec, r=pcwalton

Refactors all uses of ty_vec and associated things to remove the vstore abstraction (still used for strings, for now). Pointers to vectors are stored as ty_rptr or ty_uniq wrapped around a ty_vec. There are no user-facing changes. Existing behaviour is preserved by special-casing many instances of pointers containing vectors. Hopefully with DST most of these hacks will go away. For now it is useful to leave them hanging around rather than abstracting them into a method or something.

Closes #13554.
src/librustc/middle/ty.rs
src/librustc/middle/typeck/check/mod.rs