diff options
| author | Mara Bos <m-ou.se@m-ou.se> | 2020-10-28 21:21:41 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-10-28 21:21:41 +0100 |
| commit | a9d334d386e5abf79d8ee60f94bf32147b755c4c (patch) | |
| tree | 6197ffa1d5e9bb7003eb79b60af9f0995d37f89d /library/std/src | |
| parent | 16201da6a4ff613d00ca3680c43cbb1b52f60cf1 (diff) | |
| download | rust-a9d334d386e5abf79d8ee60f94bf32147b755c4c.tar.gz rust-a9d334d386e5abf79d8ee60f94bf32147b755c4c.zip | |
Update panic_any feature name.
Co-authored-by: Camelid <camelidcamel@gmail.com>
Diffstat (limited to 'library/std/src')
| -rw-r--r-- | library/std/src/panic.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/library/std/src/panic.rs b/library/std/src/panic.rs index 9a756e4bbb4..ad91933d651 100644 --- a/library/std/src/panic.rs +++ b/library/std/src/panic.rs @@ -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); |
