diff options
| author | bjorn3 <bjorn3@users.noreply.github.com> | 2021-12-30 12:23:32 +0100 |
|---|---|---|
| committer | bjorn3 <bjorn3@users.noreply.github.com> | 2021-12-30 12:23:32 +0100 |
| commit | 4b1a2438f8da35e14a28cc379b4510a70cd610fe (patch) | |
| tree | 5c66b86c9557262f682da560094b792d7072121c | |
| parent | 40e88469ceafc876d9f9f6358ab4fd45aaa9d0c5 (diff) | |
| download | rust-4b1a2438f8da35e14a28cc379b4510a70cd610fe.tar.gz rust-4b1a2438f8da35e14a28cc379b4510a70cd610fe.zip | |
Allow false positive unreachable code warning
| -rw-r--r-- | example/mini_core_hello_world.rs | 1 |
1 files changed, 1 insertions, 0 deletions
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 (), |
