1 warning: `rust_task_is_unwinding` redeclared with a different signature
2 --> $DIR/issue-1866.rs:23:13
4 LL | pub fn rust_task_is_unwinding(rt: *const rust_task) -> bool;
5 | ------------------------------------------------------------ `rust_task_is_unwinding` previously declared here
7 LL | pub fn rust_task_is_unwinding(rt: *const rust_task) -> bool;
8 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this signature doesn't match the previous declaration
10 = note: expected `unsafe extern "C" fn(*const usize) -> bool`
11 found `unsafe extern "C" fn(*const bool) -> bool`
12 note: the lint level is defined here
13 --> $DIR/issue-1866.rs:4:9
15 LL | #![warn(clashing_extern_declarations)]
16 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
18 warning: 1 warning emitted