avoid building proof trees in select

This commit is contained in:
lcnr
2023-07-10 15:17:01 +02:00
parent a482149598
commit 4965caf9be
5 changed files with 22 additions and 28 deletions

View File

@@ -3554,7 +3554,7 @@ pub fn dump_proof_tree<'tcx>(o: &Obligation<'tcx, ty::Predicate<'tcx>>, infcx: &
.1
.expect("proof tree should have been generated");
let mut lock = std::io::stdout().lock();
let _ = lock.write_fmt(format_args!("{tree:?}"));
let _ = lock.write_fmt(format_args!("{tree:?}\n"));
let _ = lock.flush();
});
}