Skip to content

Commit 406d351

Browse files
committed
Fix clippy and rustdoc
please, please, don't match on `Symbol::as_str`s, every time you do, somewhere in the world another waffle becomes sad...
1 parent 635dd7d commit 406d351

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

core/src/panic.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@ pub macro panic_2015 {
4343
#[doc(hidden)]
4444
#[unstable(feature = "edition_panic", issue = "none", reason = "use panic!() instead")]
4545
#[allow_internal_unstable(core_panic, const_format_args)]
46+
#[rustc_diagnostic_item = "core_panic_2021_macro"]
4647
#[rustc_macro_transparency = "semitransparent"]
4748
pub macro panic_2021 {
4849
() => (

0 commit comments

Comments
 (0)