fix: sync with latest Rust

This commit is contained in:
Paul Pan 2024-06-14 14:29:46 +08:00
parent c013478d0b
commit f4bb68a6f4

View File

@ -15,9 +15,9 @@ fn panic(info: &PanicInfo) -> ! {
location.file(),
location.line(),
location.column(),
info.message().unwrap(),
info.message(),
),
None => error!("[lang] Panicked: {}", info.message().unwrap()),
None => error!("[lang] Panicked: {}", info.message()),
}
unsafe { dump_backtrace() };