miri::diagnostics

Trait EvalContextExt

Source
pub trait EvalContextExt<'tcx>: MiriInterpCxExt<'tcx> {
    // Provided methods
    fn emit_diagnostic(&self, e: NonHaltingDiagnostic) { ... }
    fn handle_ice(&self) { ... }
}

Provided Methods§

Source

fn emit_diagnostic(&self, e: NonHaltingDiagnostic)

Source

fn handle_ice(&self)

We had a panic in Miri itself, try to print something useful.

Implementors§

Source§

impl<'tcx> EvalContextExt<'tcx> for MiriInterpCx<'tcx>