Skip to content

Commit be26b81

Browse files
authored
Rollup merge of #122397 - oli-obk:machine-read-hook2, r=RalfJung
Various cleanups around the const eval query providers r? `@RalfJung` after this, working on running validation before interning starts with swapping the order of two lines of code
2 parents 4482083 + 275061e commit be26b81

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/diagnostics.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -528,7 +528,7 @@ impl<'mir, 'tcx> MiriMachine<'mir, 'tcx> {
528528
use NonHaltingDiagnostic::*;
529529

530530
let stacktrace =
531-
MiriInterpCx::generate_stacktrace_from_stack(self.threads.active_thread_stack());
531+
Frame::generate_stacktrace_from_stack(self.threads.active_thread_stack());
532532
let (stacktrace, _was_pruned) = prune_stacktrace(stacktrace, self);
533533

534534
let (title, diag_level) = match &e {

0 commit comments

Comments
 (0)