I was testing one of my macros with
#[no_implicit_prelude] (I don't use it myself, but I don't want my macros to break if a downstream crate uses it), and I noticed that
::std::unreachable!() doesn't work, giving the error
error: cannot find macro `panic` in this scope.
I found some related discussion in https://github.com/rust-lang/rust/pull/61629. The discussion mentioned
panic being a special case, but the pull request does hygenize some calls to
std; is it possible that the call in
unreachable! was simply an oversight?