blob: 9e17e32fbb4cb4129cae5c9534c4a3463eac9e47 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
// compile-flags:-C panic=abort
#![no_std]
#![no_main]
use core::panic::PanicInfo;
#[panic_handler]
fn panic() -> ! { //~ #[panic_handler]` function has wrong type [E0308]
loop {}
}
|