]>
Commit | Line | Data |
---|---|---|
1b1a35ee | 1 | error: `extern` block uses type `impl Fn<()>`, which is not FFI-safe |
6a06907d | 2 | --> $DIR/opaque-ty-ffi-unsafe.rs:14:17 |
e1599b0c XL |
3 | | |
4 | LL | pub fn a(_: A); | |
5 | | ^ not FFI-safe | |
6 | | | |
74b04a01 | 7 | note: the lint level is defined here |
6a06907d | 8 | --> $DIR/opaque-ty-ffi-unsafe.rs:5:9 |
e1599b0c XL |
9 | | |
10 | LL | #![deny(improper_ctypes)] | |
11 | | ^^^^^^^^^^^^^^^ | |
12 | = note: opaque types have no C equivalent | |
13 | ||
14 | error: aborting due to previous error | |
15 |