We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 635dd7d commit 406d351Copy full SHA for 406d351
core/src/panic.rs
@@ -43,6 +43,7 @@ pub macro panic_2015 {
43
#[doc(hidden)]
44
#[unstable(feature = "edition_panic", issue = "none", reason = "use panic!() instead")]
45
#[allow_internal_unstable(core_panic, const_format_args)]
46
+#[rustc_diagnostic_item = "core_panic_2021_macro"]
47
#[rustc_macro_transparency = "semitransparent"]
48
pub macro panic_2021 {
49
() => (
0 commit comments