Skip to content

Commit b442348

Browse files
committed
remove unused struct NoPayload
1 parent eaef110 commit b442348

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/libcore/panicking.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -101,8 +101,6 @@ pub fn panic_fmt(fmt: fmt::Arguments, file_line_col: &(&'static str, u32, u32))
101101
#[cfg(not(stage0))]
102102
#[cold] #[inline(never)]
103103
pub fn panic_fmt(fmt: fmt::Arguments, file_line_col: &(&'static str, u32, u32)) -> ! {
104-
struct NoPayload;
105-
106104
let (file, line, col) = *file_line_col;
107105
let pi = PanicInfo::internal_constructor(
108106
Some(&fmt),

0 commit comments

Comments
 (0)