mirror of
https://github.com/panpaul/tiny_os
synced 2024-09-20 09:45:19 +08:00
fix: sync with latest Rust
This commit is contained in:
parent
c013478d0b
commit
f4bb68a6f4
@ -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() };
|
||||
|
Loading…
Reference in New Issue
Block a user