change approach and run ui tests

This commit is contained in:
hosseind75
2020-09-19 19:54:04 +04:30
committed by hosseind88
parent 01f838a626
commit 2bfdd644dc
4 changed files with 7 additions and 5 deletions

View File

@@ -124,11 +124,7 @@ impl<'tcx> TyCtxt<'tcx> {
})
}
pub fn try_print_query_stack(
handler: &Handler,
num_frames: Option<usize>,
backtrace: Option<bool>,
) {
pub fn try_print_query_stack(handler: &Handler, num_frames: Option<usize>) {
eprintln!("query stack during panic:");
// Be careful reyling on global state here: this code is called from