提交 4831146a 编写于 作者: N Niko Matsakis

remove outdated TODO markers

These were left behind to remind me to cleanup the code -- but the
relevant cleanups were already done.
上级 2ea60949
#![allow(dead_code)] // TODO
use crate::rustc::ty::{self, Ty};
use rustc::hir::def_id::DefId;
use rustc::infer::region_constraints::PickConstraint;
......
......@@ -1486,7 +1486,7 @@ fn check_pick_constraints(
&self,
infcx: &InferCtxt<'_, 'tcx>,
mir_def_id: DefId,
errors_buffer: &mut Vec<Diagnostic>, // TODO
errors_buffer: &mut Vec<Diagnostic>,
) {
let pick_constraints = self.pick_constraints.clone();
for p_c_i in pick_constraints.all_indices() {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册