about summary refs log tree commit diff
path: root/library/std/src/panic.rs
diff options
context:
space:
mode:
authorJane Lusby <jlusby@yaah.dev>2022-04-11 18:12:26 -0700
committerJane Losare-Lusby <jlusby@yaah.dev>2022-07-08 21:18:13 +0000
commite7fe5456c53a8cc620a10f6284c366d6de0b7df0 (patch)
treea6602956abf2346184eacb332fe48cefa03afcb8 /library/std/src/panic.rs
parent052495d0017e2b18b781bcf0469a048e5051f5c0 (diff)
downloadrust-e7fe5456c53a8cc620a10f6284c366d6de0b7df0.tar.gz
rust-e7fe5456c53a8cc620a10f6284c366d6de0b7df0.zip
Support unstable moves via stable in unstable items
Diffstat (limited to 'library/std/src/panic.rs')
-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 ac16f476143..45bc56efb3b 100644
--- a/library/std/src/panic.rs
+++ b/library/std/src/panic.rs
@@ -11,7 +11,7 @@ use crate::thread::Result;
 
 #[doc(hidden)]
 #[unstable(feature = "edition_panic", issue = "none", reason = "use panic!() instead")]
-#[allow_internal_unstable(libstd_sys_internals, const_format_args, core_panic)]
+#[allow_internal_unstable(libstd_sys_internals, const_format_args, core_panic, rt)]
 #[cfg_attr(not(test), rustc_diagnostic_item = "std_panic_2015_macro")]
 #[rustc_macro_transparency = "semitransparent"]
 pub macro panic_2015 {