about summary refs log tree commit diff
path: root/library/std/src/panic.rs
diff options
context:
space:
mode:
authorBadel2 <2badel2@gmail.com>2022-01-05 22:42:21 +0100
committerBadel2 <2badel2@gmail.com>2022-01-07 17:28:20 +0100
commit8bdf5c3de6c6e4e01f7f6241cd0f2a606c7486df (patch)
tree795cf4e3727479f3f82c0ee6eba205b91d9fee6d /library/std/src/panic.rs
parente012a191d768adeda1ee36a99ef8b92d51920154 (diff)
downloadrust-8bdf5c3de6c6e4e01f7f6241cd0f2a606c7486df.tar.gz
rust-8bdf5c3de6c6e4e01f7f6241cd0f2a606c7486df.zip
Implement panic::update_hook
Diffstat (limited to 'library/std/src/panic.rs')
-rw-r--r--library/std/src/panic.rs3
1 files changed, 3 insertions, 0 deletions
diff --git a/library/std/src/panic.rs b/library/std/src/panic.rs
index c0605b2f412..02ecf2e3e82 100644
--- a/library/std/src/panic.rs
+++ b/library/std/src/panic.rs
@@ -36,6 +36,9 @@ pub use core::panic::panic_2021;
 #[stable(feature = "panic_hooks", since = "1.10.0")]
 pub use crate::panicking::{set_hook, take_hook};
 
+#[unstable(feature = "panic_update_hook", issue = "92649")]
+pub use crate::panicking::update_hook;
+
 #[stable(feature = "panic_hooks", since = "1.10.0")]
 pub use core::panic::{Location, PanicInfo};