1
Fork 0

fix show we're just showing... message instead of the end of query stack message when RUST_BACKTRACE=0

This commit is contained in:
hosseind75 2020-09-23 19:08:21 +03:30 committed by hosseind88
parent d6d4388ae7
commit d60b7e29f7
2 changed files with 22 additions and 1 deletions

View file

@ -170,7 +170,11 @@ impl<'tcx> TyCtxt<'tcx> {
}
});
eprintln!("end of query stack");
if num_frames != None {
eprintln!("we're just showing a limited slice of the query stack");
} else {
eprintln!("end of query stack");
}
}
}