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> {
124
124
} )
125
125
}
126
126
127
- <<<<<<< HEAD
128
- pub fn try_print_query_stack(
129
- handler : & Handler ,
130
- num_frames : Option < usize > ,
131
- backtrace : Option < bool > ,
132
- ) {
133
- =======
134
127
pub fn try_print_query_stack ( handler : & Handler , num_frames : Option < usize > ) {
135
- >>>>>>> 15827338 aa231fd408561bf5db8d8eea85d1a51a
136
128
eprintln ! ( "query stack during panic:" ) ;
137
129
138
130
// Be careful reyling on global state here: this code is called from
@@ -146,11 +138,7 @@ impl<'tcx> TyCtxt<'tcx> {
146
138
let mut i = 0 ;
147
139
148
140
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 {
154
142
break ;
155
143
}
156
144
let query_info =
You can’t perform that action at this time.
0 commit comments