mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-02 07:22:42 +00:00
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(
|
||||
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
|
||||
|
@ -1,3 +1,5 @@
|
||||
query stack during panic:
|
||||
end of query stack
|
||||
error: proc macro panicked
|
||||
--> $DIR/invalid-punct-ident-1.rs:19:1
|
||||
|
|
||||
|
@ -1,3 +1,5 @@
|
||||
query stack during panic:
|
||||
end of query stack
|
||||
error: proc macro panicked
|
||||
--> $DIR/invalid-punct-ident-2.rs:19:1
|
||||
|
|
||||
|
@ -1,3 +1,5 @@
|
||||
query stack during panic:
|
||||
end of query stack
|
||||
error: proc macro panicked
|
||||
--> $DIR/invalid-punct-ident-3.rs:19:1
|
||||
|
|
||||
|
Loading…
Reference in New Issue
Block a user