File tree Expand file tree Collapse file tree 1 file changed +1
-13
lines changed
compiler/rustc_middle/src/ty/query Expand file tree Collapse file tree 1 file changed +1
-13
lines changed Original file line number Diff line number Diff line change @@ -124,15 +124,7 @@ impl<'tcx> TyCtxt<'tcx> {
124124 } )
125125 }
126126
127- <<<<<<< HEAD
128- pub fn try_print_query_stack(
129- handler : & Handler ,
130- num_frames : Option < usize > ,
131- backtrace : Option < bool > ,
132- ) {
133- =======
134127 pub fn try_print_query_stack ( handler : & Handler , num_frames : Option < usize > ) {
135- >>>>>>> 15827338 aa231fd408561bf5db8d8eea85d1a51a
136128 eprintln ! ( "query stack during panic:" ) ;
137129
138130 // Be careful reyling on global state here: this code is called from
@@ -146,11 +138,7 @@ impl<'tcx> TyCtxt<'tcx> {
146138 let mut i = 0 ;
147139
148140 while let Some ( query) = current_query {
149- <<<<<<< HEAD
150- if backtrace. unwrap( ) == false && i == num_frames. unwrap ( ) {
151- =======
152- if num_frames == Some ( i ) {
153- >>>>>>> 15827338 aa231fd408561bf5db8d8eea85d1a51a
141+ if Some ( i) == num_frames {
154142 break ;
155143 }
156144 let query_info =
You can’t perform that action at this time.
0 commit comments