Skip to content

Commit 3902e56

Browse files
committed
tidy
1 parent 94a9c62 commit 3902e56

File tree

1 file changed

+4
-2
lines changed
  • src/librustc_mir/borrow_check

1 file changed

+4
-2
lines changed

src/librustc_mir/borrow_check/mod.rs

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1592,9 +1592,11 @@ impl<'cx, 'tcx> MirBorrowckCtxt<'cx, 'tcx> {
15921592
// Iterate through all the errors, producing a diagnostic for each one. The diagnostics are
15931593
// buffered in the `MirBorrowckCtxt`.
15941594

1595-
// TODO(mark-i-m): Would be great to get rid of the naming context.
1595+
// FIXME(mark-i-m): Would be great to get rid of the naming context.
15961596
let mut region_naming = RegionErrorNamingCtx::new();
1597-
let mut outlives_suggestion = OutlivesSuggestionBuilder::new(self.mir_def_id, &self.local_names);
1597+
let mut outlives_suggestion = OutlivesSuggestionBuilder::new(
1598+
self.mir_def_id, &self.local_names
1599+
);
15981600

15991601
for nll_error in nll_errors.into_iter() {
16001602
match nll_error {

0 commit comments

Comments
 (0)