change approach and run ui tests
This commit is contained in:
parent
01f838a626
commit
2bfdd644dc
@ -124,11 +124,7 @@ impl<'tcx> TyCtxt<'tcx> {
|
|||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
pub fn try_print_query_stack(
|
pub fn try_print_query_stack(handler: &Handler, num_frames: Option<usize>) {
|
||||||
handler: &Handler,
|
|
||||||
num_frames: Option<usize>,
|
|
||||||
backtrace: Option<bool>,
|
|
||||||
) {
|
|
||||||
eprintln!("query stack during panic:");
|
eprintln!("query stack during panic:");
|
||||||
|
|
||||||
// Be careful reyling on global state here: this code is called from
|
// Be careful reyling on global state here: this code is called from
|
||||||
|
@ -1,3 +1,5 @@
|
|||||||
|
query stack during panic:
|
||||||
|
end of query stack
|
||||||
error: proc macro panicked
|
error: proc macro panicked
|
||||||
--> $DIR/invalid-punct-ident-1.rs:19:1
|
--> $DIR/invalid-punct-ident-1.rs:19:1
|
||||||
|
|
|
|
||||||
|
@ -1,3 +1,5 @@
|
|||||||
|
query stack during panic:
|
||||||
|
end of query stack
|
||||||
error: proc macro panicked
|
error: proc macro panicked
|
||||||
--> $DIR/invalid-punct-ident-2.rs:19:1
|
--> $DIR/invalid-punct-ident-2.rs:19:1
|
||||||
|
|
|
|
||||||
|
@ -1,3 +1,5 @@
|
|||||||
|
query stack during panic:
|
||||||
|
end of query stack
|
||||||
error: proc macro panicked
|
error: proc macro panicked
|
||||||
--> $DIR/invalid-punct-ident-3.rs:19:1
|
--> $DIR/invalid-punct-ident-3.rs:19:1
|
||||||
|
|
|
|
||||||
|
Loading…
Reference in New Issue
Block a user