From f282641a0b66dddc6f84c2080659f7ad99a48bcb Mon Sep 17 00:00:00 2001 From: Folkert de Vries Date: Wed, 3 Aug 2022 21:42:17 +0200 Subject: [PATCH] clippy --- crates/roc_std/src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/roc_std/src/lib.rs b/crates/roc_std/src/lib.rs index 59d4809b60..2e78d67f97 100644 --- a/crates/roc_std/src/lib.rs +++ b/crates/roc_std/src/lib.rs @@ -70,7 +70,7 @@ pub mod platform_dummys { } #[no_mangle] - pub unsafe extern "C" fn roc_panic(c_ptr: *mut c_void, tag_id: u32) { + pub unsafe extern "C" fn roc_panic(_c_ptr: *mut c_void, _tag_id: u32) { unimplemented!("It is not valid to call roc panic from within the compiler. Please use the \"platform\" feature if this is a platform.") }