Skip to content

Commit a7646df

Browse files
authored
Remove commented-out code
1 parent 0fd4f37 commit a7646df

File tree

1 file changed

+0
-2
lines changed
  • src/librustc_mir/borrow_check/nll/type_check

1 file changed

+0
-2
lines changed

src/librustc_mir/borrow_check/nll/type_check/liveness.rs

-2
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@ use dataflow::move_paths::{HasMoveData, MoveData};
1515
use rustc::mir::{BasicBlock, Location, Mir};
1616
use rustc::mir::Local;
1717
use rustc::ty::{self, Ty, TyCtxt, TypeFoldable};
18-
//use rustc::ty::subst::Kind;
1918
use rustc::traits;
2019
use rustc::infer::InferOk;
2120
use rustc::util::common::ErrorReported;
@@ -243,7 +242,6 @@ impl<'gen, 'typeck, 'flow, 'gcx, 'tcx> TypeLivenessGenerator<'gen, 'typeck, 'flo
243242

244243
final_obligations.extend(obligations);
245244

246-
//let ty = self.cx.normalize(&ty, location);
247245
let ty = cx.infcx.resolve_type_and_region_vars_if_possible(&ty);
248246
match ty.sty {
249247
ty::TyParam(..) | ty::TyProjection(..) | ty::TyAnon(..) => {

0 commit comments

Comments
 (0)