It should be ``` #[lang = "panic_fmt"] extern fn panic_fmt(msg: fmt::Arguments, file: &'static str, line: u32, col: u32) -> !; ``` and possibly also an `#[unwind]` or `#[unwind(allowed)]` in future definitions of Rust. See [libcore's definition](https://github.com/rust-lang/rust/blob/1.26.0/src/libcore/panicking.rs#L65-L70) and longer discussion in https://github.com/alex/linux-kernel-module-rust/pull/19#issuecomment-392351011
It should be
and possibly also an
#[unwind]or#[unwind(allowed)]in future definitions of Rust. See libcore's definition and longer discussion in #19 (comment)