remove outdated TODO markers

These were left behind to remind me to cleanup the code -- but the
relevant cleanups were already done.
This commit is contained in:
Niko Matsakis 2019-06-12 11:48:08 -04:00
parent 2ea6094938
commit 4831146afa
2 changed files with 1 additions and 3 deletions

View File

@ -1,5 +1,3 @@
#![allow(dead_code)] // TODO
use crate::rustc::ty::{self, Ty};
use rustc::hir::def_id::DefId;
use rustc::infer::region_constraints::PickConstraint;

View File

@ -1486,7 +1486,7 @@ impl<'tcx> RegionInferenceContext<'tcx> {
&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() {