mirror of https://github.com/rust-lang/rust
16 lines
414 B
Plaintext
16 lines
414 B
Plaintext
error: `extern` block uses type `Qux`, which is not FFI-safe
|
|
--> $DIR/lint-ctypes-73249-2.rs:26:21
|
|
|
|
|
LL | fn lint_me() -> A<()>;
|
|
| ^^^^^ not FFI-safe
|
|
|
|
|
= note: opaque types have no C equivalent
|
|
note: the lint level is defined here
|
|
--> $DIR/lint-ctypes-73249-2.rs:2:9
|
|
|
|
|
LL | #![deny(improper_ctypes)]
|
|
| ^^^^^^^^^^^^^^^
|
|
|
|
error: aborting due to 1 previous error
|
|
|