Skip to content

Commit 4831146

Browse files
committed
remove outdated TODO markers
These were left behind to remind me to cleanup the code -- but the relevant cleanups were already done.
1 parent 2ea6094 commit 4831146

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

src/librustc_mir/borrow_check/nll/pick_constraints.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
#![allow(dead_code)] // TODO
2-
31
use crate::rustc::ty::{self, Ty};
42
use rustc::hir::def_id::DefId;
53
use rustc::infer::region_constraints::PickConstraint;

src/librustc_mir/borrow_check/nll/region_infer/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1486,7 +1486,7 @@ impl<'tcx> RegionInferenceContext<'tcx> {
14861486
&self,
14871487
infcx: &InferCtxt<'_, 'tcx>,
14881488
mir_def_id: DefId,
1489-
errors_buffer: &mut Vec<Diagnostic>, // TODO
1489+
errors_buffer: &mut Vec<Diagnostic>,
14901490
) {
14911491
let pick_constraints = self.pick_constraints.clone();
14921492
for p_c_i in pick_constraints.all_indices() {

0 commit comments

Comments
 (0)