1
Fork 0

Remove in_band_lifetimes from rustc_mir_dataflow

See #91867 for more information.
This commit is contained in:
LegionMammal978 2021-12-14 12:02:45 -05:00 committed by Matthew House
parent 1d01550f7e
commit fed881aafc
13 changed files with 70 additions and 60 deletions

View file

@ -11,7 +11,7 @@ use rustc_middle::mir::{self, Local};
pub struct AlwaysLiveLocals(BitSet<Local>);
impl AlwaysLiveLocals {
pub fn new(body: &mir::Body<'tcx>) -> Self {
pub fn new(body: &mir::Body<'_>) -> Self {
let mut always_live_locals = AlwaysLiveLocals(BitSet::new_filled(body.local_decls.len()));
for block in body.basic_blocks() {