]> git.lizzy.rs Git - rust.git/commit
Auto merge of #45283 - alexcrichton:used-mut-nodes, r=arielb1
authorbors <bors@rust-lang.org>
Mon, 16 Oct 2017 03:02:05 +0000 (03:02 +0000)
committerbors <bors@rust-lang.org>
Mon, 16 Oct 2017 03:02:05 +0000 (03:02 +0000)
commitfdec805d035bae722ab6b587b21d8473521997dd
treece89520838973b35edd18444ffcf2010ac14e317
parent9223c39dc53ad97ae95fd9cec86503a083b8e966
parent4df1278c69f6f74f3a58e647ca3a9cd38395ebf3
Auto merge of #45283 - alexcrichton:used-mut-nodes, r=arielb1

rustc: Remove `used_mut_nodes` from `TyCtxt`

This updates the borrowck query to return a result, and this result is then used
to incrementally check for unused mutable nodes given sets of all the used
mutable nodes.

Closes #42384
src/Cargo.lock
src/librustc_borrowck/borrowck/mod.rs
src/librustc_borrowck/lib.rs