Move generate_stacktrace_from_stack away from InterpCx to avoid having to know the Machine type

This commit is contained in:
Oli Scherer
2024-03-11 13:20:12 +00:00
parent 6b936b6c08
commit d2d2bd2736
4 changed files with 32 additions and 37 deletions

View File

@@ -5,7 +5,7 @@ use rustc_middle::mir::interpret::InterpErrorInfo;
use rustc_middle::query::TyCtxtAt;
use rustc_middle::ty::{self, Ty};
use crate::interpret::{format_interp_error, InterpCx};
use crate::interpret::format_interp_error;
mod error;
mod eval_queries;