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