fix show we're just showing... message instead of the end of query stack message when RUST_BACKTRACE=0
This commit is contained in:
parent
d1e30592b3
commit
6c0f06a107
2 changed files with 0 additions and 4 deletions
|
@ -127,9 +127,6 @@ impl<'tcx> TyCtxt<'tcx> {
|
||||||
pub fn try_print_query_stack(handler: &Handler, num_frames: Option<usize>) {
|
pub fn try_print_query_stack(handler: &Handler, num_frames: Option<usize>) {
|
||||||
eprintln!("query stack during panic:");
|
eprintln!("query stack during panic:");
|
||||||
|
|
||||||
if num_frames != None {
|
|
||||||
eprintln!("we're just showing a limited slice of the query stack");
|
|
||||||
}
|
|
||||||
// Be careful reyling on global state here: this code is called from
|
// Be careful reyling on global state here: this code is called from
|
||||||
// a panic hook, which means that the global `Handler` may be in a weird
|
// a panic hook, which means that the global `Handler` may be in a weird
|
||||||
// state if it was responsible for triggering the panic.
|
// state if it was responsible for triggering the panic.
|
||||||
|
|
|
@ -12,7 +12,6 @@ note: rustc VERSION running on TARGET
|
||||||
note: compiler flags: FLAGS
|
note: compiler flags: FLAGS
|
||||||
|
|
||||||
query stack during panic:
|
query stack during panic:
|
||||||
we're just showing a limited slice of the query stack
|
|
||||||
#0 [check_match] match-checking `main`
|
#0 [check_match] match-checking `main`
|
||||||
#1 [analysis] running analysis passes on this crate
|
#1 [analysis] running analysis passes on this crate
|
||||||
we're just showing a limited slice of the query stack
|
we're just showing a limited slice of the query stack
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue