We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
backtrace
1 parent 3eae7f6 commit 8d73fafCopy full SHA for 8d73faf
src/librustc_data_structures/obligation_forest/mod.rs
@@ -355,10 +355,9 @@ impl<O: ForestObligation> ObligationForest<O> {
355
let mut errors = vec![];
356
for (index, node) in self.nodes.iter().enumerate() {
357
if let NodeState::Pending = node.state.get() {
358
- let backtrace = self.error_at(index);
359
errors.push(Error {
360
error: error.clone(),
361
- backtrace,
+ backtrace: self.error_at(index),
362
});
363
}
364
@@ -439,10 +438,9 @@ impl<O: ForestObligation> ObligationForest<O> {
439
438
440
ProcessResult::Error(err) => {
441
stalled = false;
442
443
444
error: err,
445
446
447
448
0 commit comments