From 4b1a2438f8da35e14a28cc379b4510a70cd610fe Mon Sep 17 00:00:00 2001 From: bjorn3 Date: Thu, 30 Dec 2021 12:23:32 +0100 Subject: [PATCH] Allow false positive unreachable code warning --- example/mini_core_hello_world.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/example/mini_core_hello_world.rs b/example/mini_core_hello_world.rs index cbfdb3c44f3..ef3b575d393 100644 --- a/example/mini_core_hello_world.rs +++ b/example/mini_core_hello_world.rs @@ -129,6 +129,7 @@ fn call_return_u128_pair() { return_u128_pair(); } +#[allow(unreachable_code)] // FIXME false positive fn main() { take_unique(Unique { pointer: 0 as *const (),