Skip to content

Commit

Permalink
Remove commented-out code
Browse files Browse the repository at this point in the history
  • Loading branch information
Aaron1011 authored Feb 2, 2018
1 parent 0fd4f37 commit a7646df
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/librustc_mir/borrow_check/nll/type_check/liveness.rs
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ use dataflow::move_paths::{HasMoveData, MoveData};
use rustc::mir::{BasicBlock, Location, Mir};
use rustc::mir::Local;
use rustc::ty::{self, Ty, TyCtxt, TypeFoldable};
//use rustc::ty::subst::Kind;
use rustc::traits;
use rustc::infer::InferOk;
use rustc::util::common::ErrorReported;
Expand Down Expand Up @@ -243,7 +242,6 @@ impl<'gen, 'typeck, 'flow, 'gcx, 'tcx> TypeLivenessGenerator<'gen, 'typeck, 'flo

final_obligations.extend(obligations);

//let ty = self.cx.normalize(&ty, location);
let ty = cx.infcx.resolve_type_and_region_vars_if_possible(&ty);
match ty.sty {
ty::TyParam(..) | ty::TyProjection(..) | ty::TyAnon(..) => {
Expand Down

0 comments on commit a7646df

Please sign in to comment.