From: bors Date: Mon, 16 Oct 2017 03:02:05 +0000 (+0000) Subject: Auto merge of #45283 - alexcrichton:used-mut-nodes, r=arielb1 X-Git-Url: https://git.lizzy.rs/?a=commitdiff_plain;h=fdec805d035bae722ab6b587b21d8473521997dd;p=rust.git 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 --- fdec805d035bae722ab6b587b21d8473521997dd diff --cc src/librustc_borrowck/lib.rs index 11120d2e46f,0a39dc1d8b5..78aacd49f80 --- a/src/librustc_borrowck/lib.rs +++ b/src/librustc_borrowck/lib.rs @@@ -16,11 -16,13 +16,12 @@@ #![allow(non_camel_case_types)] #![feature(quote)] -#![feature(rustc_diagnostic_macros)] #[macro_use] extern crate log; -#[macro_use] extern crate syntax; +extern crate syntax; extern crate syntax_pos; extern crate rustc_errors as errors; + extern crate rustc_back; // for "clarity", rename the graphviz crate to dot; graphviz within `borrowck` // refers to the borrowck-specific graphviz adapter traits.