mem::unreachable
: Add tracking issue
This commit is contained in:
parent
315de9c58f
commit
5704b07667
@ -949,7 +949,7 @@ impl<T: ::fmt::Debug> ::fmt::Debug for ManuallyDrop<T> {
|
||||
/// 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.
|
||||
#[unstable(feature = "unreachable", issue = "0")]
|
||||
#[unstable(feature = "unreachable", issue = "43751")]
|
||||
pub unsafe fn unreachable() -> ! {
|
||||
intrinsics::unreachable()
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user