Fix fallout

This commit is contained in:
flip1995
2020-02-21 09:39:38 +01:00
parent b67764d5cb
commit 8472ecda0f
117 changed files with 219 additions and 162 deletions

View File

@@ -4,11 +4,11 @@ use rustc::ty;
use rustc_data_structures::fx::FxHashSet;
use rustc_hir::def::Res;
use rustc_hir::intravisit::{walk_expr, NestedVisitorMap, Visitor};
use rustc_hir::*;
use rustc_hir::{def_id, Expr, HirId, Path};
use rustc_infer::infer::TyCtxtInferExt;
use rustc_lint::LateContext;
use rustc_span::symbol::Ident;
use rustc_typeck::expr_use_visitor::*;
use rustc_typeck::expr_use_visitor::{ConsumeMode, Delegate, ExprUseVisitor, Place, PlaceBase};
use syntax::ast;
/// Returns a set of mutated local variable IDs, or `None` if mutations could not be determined.