未验证 提交 a7646df9 编写于 作者: A Aaron Hill 提交者: GitHub

Remove commented-out code

上级 0fd4f379
......@@ -15,7 +15,6 @@
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 @@ fn add_drop_live_constraint(
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(..) => {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册