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