@@ -59,7 +59,7 @@ pub struct RacingOp {
59
59
60
60
impl fmt:: Display for TerminationInfo {
61
61
fn fmt ( & self , f : & mut fmt:: Formatter < ' _ > ) -> fmt:: Result {
62
- use TerminationInfo :: * ;
62
+ use self :: TerminationInfo :: * ;
63
63
match self {
64
64
Exit { code, .. } => write ! ( f, "the evaluated program completed with exit code {code}" ) ,
65
65
Abort ( msg) => write ! ( f, "{msg}" ) ,
@@ -212,7 +212,7 @@ pub fn report_error<'tcx>(
212
212
213
213
let ( title, helps) = if let MachineStop ( info) = e. kind ( ) {
214
214
let info = info. downcast_ref :: < TerminationInfo > ( ) . expect ( "invalid MachineStop payload" ) ;
215
- use TerminationInfo :: * ;
215
+ use self :: TerminationInfo :: * ;
216
216
let title = match info {
217
217
Exit { code, leak_check } => return Some ( ( * code, * leak_check) ) ,
218
218
Abort ( _) => Some ( "abnormal termination" ) ,
@@ -579,7 +579,7 @@ pub fn report_msg<'tcx>(
579
579
580
580
impl < ' tcx > MiriMachine < ' tcx > {
581
581
pub fn emit_diagnostic ( & self , e : NonHaltingDiagnostic ) {
582
- use NonHaltingDiagnostic :: * ;
582
+ use self :: NonHaltingDiagnostic :: * ;
583
583
584
584
let stacktrace = Frame :: generate_stacktrace_from_stack ( self . threads . active_thread_stack ( ) ) ;
585
585
let ( stacktrace, _was_pruned) = prune_stacktrace ( stacktrace, self ) ;
0 commit comments