Skip to content

Commit 14f6e56

Browse files
Drop printlns
1 parent 8072bec commit 14f6e56

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

compiler/rustc_borrowck/src/diagnostics/conflict_errors.rs

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -684,7 +684,6 @@ impl<'infcx, 'tcx> MirBorrowckCtxt<'_, '_, 'infcx, 'tcx> {
684684
let span = init.span(self.body);
685685
if !span.is_dummy() {
686686
spans.push(span);
687-
// println!("ADDED: {:?}", span);
688687
}
689688
}
690689

@@ -782,10 +781,6 @@ impl<'infcx, 'tcx> MirBorrowckCtxt<'_, '_, 'infcx, 'tcx> {
782781
if !shown {
783782
spans.dedup();
784783
for sp in &spans {
785-
// println!("span {:?}", sp);
786-
// println!("span {:?}", *sp < span);
787-
// println!("COMP: {:?}", span);
788-
// println!("COMP: {:?}", !sp.overlaps(span));
789784
if *sp < span && !sp.overlaps(span) {
790785
err.span_label(*sp, "binding initialized here in some conditions");
791786
}

0 commit comments

Comments
 (0)