mirror of
https://github.com/rust-lang/rust.git
synced 2025-01-27 07:03:45 +00:00
Update panic_any feature name.
Co-authored-by: Camelid <camelidcamel@gmail.com>
This commit is contained in:
parent
16201da6a4
commit
a9d334d386
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user