diff --git a/src/libcore/mem.rs b/src/libcore/mem.rs index 045720b0268a..6f7adbe1e7a0 100644 --- a/src/libcore/mem.rs +++ b/src/libcore/mem.rs @@ -949,6 +949,7 @@ impl ::fmt::Debug for ManuallyDrop { /// NB: This is very different from the `unreachable!()` macro: Unlike the /// macro, which panics when it is executed, it is *undefined behavior* to /// reach code marked with this function. +#[inline] #[unstable(feature = "unreachable", issue = "43751")] pub unsafe fn unreachable() -> ! { intrinsics::unreachable()