mem::unreachable: Add tracking issue

This commit is contained in:
Tobias Bucher 2017-08-09 01:03:50 +02:00
parent 315de9c58f
commit 5704b07667

View File

@ -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()
}