Skip to content

Commit 4b1a243

Browse files
committed
Allow false positive unreachable code warning
1 parent 40e8846 commit 4b1a243

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

example/mini_core_hello_world.rs

+1
Original file line numberDiff line numberDiff line change
@@ -129,6 +129,7 @@ fn call_return_u128_pair() {
129129
return_u128_pair();
130130
}
131131

132+
#[allow(unreachable_code)] // FIXME false positive
132133
fn main() {
133134
take_unique(Unique {
134135
pointer: 0 as *const (),

0 commit comments

Comments
 (0)