We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
#[inline]
mem::unreachable
1 parent 5704b07 commit faadd35Copy full SHA for faadd35
src/libcore/mem.rs
@@ -949,6 +949,7 @@ impl<T: ::fmt::Debug> ::fmt::Debug for ManuallyDrop<T> {
949
/// NB: This is very different from the `unreachable!()` macro: Unlike the
950
/// macro, which panics when it is executed, it is *undefined behavior* to
951
/// reach code marked with this function.
952
+#[inline]
953
#[unstable(feature = "unreachable", issue = "43751")]
954
pub unsafe fn unreachable() -> ! {
955
intrinsics::unreachable()
0 commit comments