Bump Rust version to nightly-2025-02-18(2024 Edition)

This commit is contained in:
Yifan Wu 2025-02-19 21:27:17 +08:00
parent 123595601d
commit 5b846fce6a
44 changed files with 118 additions and 105 deletions

View file

@ -2,7 +2,7 @@ use super::exit;
#[panic_handler]
fn panic_handler(panic_info: &core::panic::PanicInfo) -> ! {
let err = panic_info.message().unwrap();
let err = panic_info.message();
if let Some(location) = panic_info.location() {
println!(
"Panicked at {}:{}, {}",