Skip to content

Commit 8072bec

Browse files
Drop unnecessary stdout fixture, verify
1 parent 3e35f49 commit 8072bec

File tree

2 files changed

+5
-11
lines changed

2 files changed

+5
-11
lines changed

compiler/rustc_borrowck/src/diagnostics/conflict_errors.rs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -684,7 +684,7 @@ 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);
687+
// println!("ADDED: {:?}", span);
688688
}
689689
}
690690

@@ -782,10 +782,10 @@ impl<'infcx, 'tcx> MirBorrowckCtxt<'_, '_, 'infcx, 'tcx> {
782782
if !shown {
783783
spans.dedup();
784784
for sp in &spans {
785-
println!("span {:?}", sp);
786-
println!("span {:?}", *sp < span);
787-
println!("COMP: {:?}", span);
788-
println!("COMP: {:?}", !sp.overlaps(span));
785+
// println!("span {:?}", sp);
786+
// println!("span {:?}", *sp < span);
787+
// println!("COMP: {:?}", span);
788+
// println!("COMP: {:?}", !sp.overlaps(span));
789789
if *sp < span && !sp.overlaps(span) {
790790
err.span_label(*sp, "binding initialized here in some conditions");
791791
}

tests/ui/duplicate-label-E0381-issue-129274.stdout

Lines changed: 0 additions & 6 deletions
This file was deleted.

0 commit comments

Comments
 (0)