@@ -59,7 +59,7 @@ pub struct RacingOp {
5959
6060impl fmt:: Display for TerminationInfo {
6161 fn fmt ( & self , f : & mut fmt:: Formatter < ' _ > ) -> fmt:: Result {
62- use TerminationInfo :: * ;
62+ use self :: TerminationInfo :: * ;
6363 match self {
6464 Exit { code, .. } => write ! ( f, "the evaluated program completed with exit code {code}" ) ,
6565 Abort ( msg) => write ! ( f, "{msg}" ) ,
@@ -212,7 +212,7 @@ pub fn report_error<'tcx>(
212212
213213 let ( title, helps) = if let MachineStop ( info) = e. kind ( ) {
214214 let info = info. downcast_ref :: < TerminationInfo > ( ) . expect ( "invalid MachineStop payload" ) ;
215- use TerminationInfo :: * ;
215+ use self :: TerminationInfo :: * ;
216216 let title = match info {
217217 Exit { code, leak_check } => return Some ( ( * code, * leak_check) ) ,
218218 Abort ( _) => Some ( "abnormal termination" ) ,
@@ -579,7 +579,7 @@ pub fn report_msg<'tcx>(
579579
580580impl < ' tcx > MiriMachine < ' tcx > {
581581 pub fn emit_diagnostic ( & self , e : NonHaltingDiagnostic ) {
582- use NonHaltingDiagnostic :: * ;
582+ use self :: NonHaltingDiagnostic :: * ;
583583
584584 let stacktrace = Frame :: generate_stacktrace_from_stack ( self . threads . active_thread_stack ( ) ) ;
585585 let ( stacktrace, _was_pruned) = prune_stacktrace ( stacktrace, self ) ;
0 commit comments