Skip to content

Commit a2a1d60

Browse files
committed
issue with attributes on panic
1 parent f42ac3b commit a2a1d60

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

tests/auxiliary/minicore.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -135,10 +135,10 @@ partialEq!(
135135

136136
#[lang = "panic"]
137137
//#[rustc_const_panic_str]
138-
#[inline(never)]
139-
#[cold]
140-
#[track_caller]
141-
#[rustc_nounwind]
138+
//#[inline(never)]
139+
//#[cold]
140+
//#[track_caller]
141+
//#[rustc_nounwind]
142142
const fn panic(expr: &'static str) -> ! {
143143
abort()
144144
}

0 commit comments

Comments
 (0)