]> git.lizzy.rs Git - rust.git/commitdiff
auto merge of #4908 : bstrie/rust/rimov3, r=pcwalton
authorbors <bors@rust-lang.org>
Wed, 13 Feb 2013 23:09:07 +0000 (15:09 -0800)
committerbors <bors@rust-lang.org>
Wed, 13 Feb 2013 23:09:07 +0000 (15:09 -0800)
This patch finishes removing inner vector mutability from the vast majority of the compiler. Exceptions:

* core::dvec: ideally this entire type will be able to be replaced by `~[]`, but Niko asked me to hold off on removing Dvecs until he makes some fixes to borrowed pointers.
* liveness: liveness.rs is an impenetrable neutron star of deprecated semantics.
* compile-fail: I'm not sure if a lot of these tests are testing inner mutability or mutability in general. I figure that RIMOVing this folder should wait until this syntax is removed from the parser.

I also took this chance to remove many of the inner-mutability-related functions from core::vec, or as many uses of those functions as possible where still necessary. consume_mut and append_mut have been axed. cast_to_mut and cast_from_mut are still needed in a few places.


Trivial merge