diff options
| author | Aaron Hill <aa1ronham@gmail.com> | 2018-02-02 14:59:27 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2018-02-02 14:59:27 -0500 |
| commit | a7646df923c62343959c0955a955ee19562da1ff (patch) | |
| tree | 7a2346f0a3c45814e75c9e9fb1b46ee9aa7678e9 | |
| parent | 0fd4f3794495d7348ccb8d5d7dc1404d380ecbc4 (diff) | |
| download | rust-a7646df923c62343959c0955a955ee19562da1ff.tar.gz rust-a7646df923c62343959c0955a955ee19562da1ff.zip | |
Remove commented-out code
| -rw-r--r-- | src/librustc_mir/borrow_check/nll/type_check/liveness.rs | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/librustc_mir/borrow_check/nll/type_check/liveness.rs b/src/librustc_mir/borrow_check/nll/type_check/liveness.rs index 93bb3cb6647..a50b9993747 100644 --- a/src/librustc_mir/borrow_check/nll/type_check/liveness.rs +++ b/src/librustc_mir/borrow_check/nll/type_check/liveness.rs @@ -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; @@ -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(..) => { |
