We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ecaeb59 commit 2da5d94Copy full SHA for 2da5d94
lib.rs
@@ -127,16 +127,6 @@ macro_rules! smallvec {
127
});
128
}
129
130
-/// Hint to the optimizer that any code path which calls this function is
131
-/// statically unreachable and can be removed.
132
-///
133
-/// Equivalent to `std::hint::unreachable_unchecked`.
134
-#[inline]
135
-#[deprecated(note = "Use std::hint::unreachable_unchecked instead")]
136
-pub unsafe fn unreachable() -> ! {
137
- unreachable_unchecked()
138
-}
139
-
140
/// `panic!()` in debug builds, optimization hint in release.
141
#[cfg(not(feature = "union"))]
142
macro_rules! debug_unreachable {
0 commit comments