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:
parent
2ea6094938
commit
4831146afa
2 changed files with 1 additions and 3 deletions
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -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() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue