]> git.lizzy.rs Git - rust.git/commitdiff
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)
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.

1  2 
src/librustc/middle/ty.rs
src/librustc/middle/typeck/check/mod.rs

Simple merge