diff --git a/src/libpanic_unwind/lib.rs b/src/libpanic_unwind/lib.rs index c213b19d062..0a2a0e9e045 100644 --- a/src/libpanic_unwind/lib.rs +++ b/src/libpanic_unwind/lib.rs @@ -30,7 +30,6 @@ #![feature(raw)] #![panic_runtime] #![feature(panic_runtime)] - // `real_imp` is unused with Miri, so silence warnings. #![cfg_attr(miri, allow(dead_code))] diff --git a/src/libpanic_unwind/miri.rs b/src/libpanic_unwind/miri.rs index 5f44b98566f..9d92b2b2f32 100644 --- a/src/libpanic_unwind/miri.rs +++ b/src/libpanic_unwind/miri.rs @@ -1,6 +1,6 @@ //! Unwinding panics for Miri. -use core::any::Any; use alloc::boxed::Box; +use core::any::Any; // The type of the payload that the Miri engine propagates through unwinding for us. // Must be pointer-sized. diff --git a/src/librustc_mir/interpret/eval_context.rs b/src/librustc_mir/interpret/eval_context.rs index 0d43e4759f7..482c143a73e 100644 --- a/src/librustc_mir/interpret/eval_context.rs +++ b/src/librustc_mir/interpret/eval_context.rs @@ -651,7 +651,7 @@ impl<'mir, 'tcx, M: Machine<'mir, 'tcx>> InterpCx<'mir, 'tcx, M> { if M::stack_pop(self, frame.extra, unwinding)? == StackPopJump::NoJump { // The hook already did everything. - // We want to skip the `trace!` below, hence early return. + // We want to skip the `info!` below, hence early return. return Ok(()); } // Normal return.