about summary refs log tree commit diff
path: root/library/std/src
diff options
context:
space:
mode:
authorMara Bos <m-ou.se@m-ou.se>2020-10-28 21:21:41 +0100
committerGitHub <noreply@github.com>2020-10-28 21:21:41 +0100
commita9d334d386e5abf79d8ee60f94bf32147b755c4c (patch)
tree6197ffa1d5e9bb7003eb79b60af9f0995d37f89d /library/std/src
parent16201da6a4ff613d00ca3680c43cbb1b52f60cf1 (diff)
downloadrust-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.rs2
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);