Update panic_any feature name.

Co-authored-by: Camelid <camelidcamel@gmail.com>
This commit is contained in:
Mara Bos 2020-10-28 21:21:41 +01:00 committed by GitHub
parent 16201da6a4
commit a9d334d386
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -31,7 +31,7 @@ pub use core::panic::{Location, PanicInfo};
/// accessed later using [`PanicInfo::payload`].
///
/// See the [`panic!`] macro for more information about panicking.
#[unstable(feature = "panic_box", issue = "none")]
#[unstable(feature = "panic_any", issue = "none")]
#[inline]
pub fn panic_any<M: Any + Send>(msg: M) -> ! {
crate::panicking::begin_panic(msg);