]> git.lizzy.rs Git - rust.git/blob - src/test/ui/issues/issue-1866.stderr
Merge commit '97e504549371d7640cf011d266e3c17394fdddac' into sync_cg_clif-2021-12-20
[rust.git] / src / test / ui / issues / issue-1866.stderr
1 warning: `rust_task_is_unwinding` redeclared with a different signature
2   --> $DIR/issue-1866.rs:23:13
3    |
4 LL |             pub fn rust_task_is_unwinding(rt: *const rust_task) -> bool;
5    |             ------------------------------------------------------------ `rust_task_is_unwinding` previously declared here
6 ...
7 LL |             pub fn rust_task_is_unwinding(rt: *const rust_task) -> bool;
8    |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this signature doesn't match the previous declaration
9    |
10 note: the lint level is defined here
11   --> $DIR/issue-1866.rs:4:9
12    |
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`
17
18 warning: 1 warning emitted
19