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: the lint level is defined here
11 --> $DIR/issue-1866.rs:4:9
13 LL | #![warn(clashing_extern_declarations)]
14 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
15 = note: expected `unsafe extern "C" fn(*const usize) -> bool`
16 found `unsafe extern "C" fn(*const bool) -> bool`
18 warning: 1 warning emitted