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