rust/src/librustc/middle
bors eae2652710 auto merge of #13301 : erickt/rust/remove-refcell-get, r=huonw
`RefCell::get` can be a bit surprising, because it actually clones the wrapped value. This removes `RefCell::get` and replaces all the users with `RefCell::borrow()` when it can, and `RefCell::borrow().clone()` when it can't. It removes `RefCell::set` for consistency. This closes #13182.

It also fixes an infinite loop in a test when debugging is on.
2014-04-04 08:41:50 -07:00
..
borrowck middle: borrowck: remove dead code 2014-04-02 11:17:19 -04:00
cfg middle: cfg: allow dead code 2014-04-02 11:17:19 -04:00
trans auto merge of #13301 : erickt/rust/remove-refcell-get, r=huonw 2014-04-04 08:41:50 -07:00
typeck auto merge of #13301 : erickt/rust/remove-refcell-get, r=huonw 2014-04-04 08:41:50 -07:00
astencode.rs middle: astencode: remove dead code 2014-04-02 11:17:18 -04:00
check_const.rs rustc: Fix fallout of removing get() 2014-03-22 08:48:20 -07:00
check_loop.rs De-@ ty::ctxt usage. 2014-03-17 09:53:06 +02:00
check_match.rs vec: convert append and append_one to methods 2014-03-31 01:13:48 -04:00
check_static.rs Allow static items that don't fulfill Freeze 2014-03-20 10:17:28 +01:00
const_eval.rs middle: const_eval: remove dead code 2014-04-02 11:17:19 -04:00
dataflow.rs middle: dataflow: remove dead code 2014-04-02 11:17:19 -04:00
dead.rs std: Remove RefCell::get() 2014-04-03 20:28:55 -07:00
effect.rs rustc: Fix fallout of removing get() 2014-03-22 08:48:20 -07:00
entry.rs std: Remove RefCell::set() 2014-04-03 20:28:59 -07:00
freevars.rs middle: freevars: remove dead code 2014-04-02 11:17:19 -04:00
graph.rs auto merge of #13237 : alexcrichton/rust/private-tuple-structs, r=brson 2014-04-03 18:41:45 -07:00
kind.rs middle: kind: remove dead code 2014-04-02 11:17:20 -04:00
lang_items.rs middle: lang_items: allow dead code 2014-04-02 11:17:20 -04:00
lint.rs syntax: Remove AbiSet, use one Abi 2014-04-03 13:43:45 -07:00
liveness.rs rustc: Remove all usage of manual deref() 2014-03-22 08:48:34 -07:00
mem_categorization.rs middle: mem_categorization: remove dead code 2014-04-02 11:17:20 -04:00
moves.rs rustc: Switch field privacy as necessary 2014-03-31 15:47:36 -07:00
pat_util.rs middle: pat_util: remove dead code 2014-04-02 11:17:20 -04:00
privacy.rs rustc: Switch tuple structs to have private fields 2014-03-31 18:59:46 -07:00
reachable.rs rustc: Fix fallout of removing get() 2014-03-22 08:48:20 -07:00
region.rs middle: region: remove dead code 2014-04-02 11:17:20 -04:00
resolve_lifetime.rs Removed deprecated functions map and flat_map for vectors and slices. 2014-03-30 03:47:04 +02:00
resolve.rs std: Remove RefCell::set() 2014-04-03 20:28:59 -07:00
subst.rs Removed deprecated functions map and flat_map for vectors and slices. 2014-03-30 03:47:04 +02:00
ty_fold.rs syntax: Remove AbiSet, use one Abi 2014-04-03 13:43:45 -07:00
ty.rs auto merge of #13237 : alexcrichton/rust/private-tuple-structs, r=brson 2014-04-03 18:41:45 -07:00