error: `extern` block uses type `impl TraitA`, which is not FFI-safe | |
--> $DIR/lint-ctypes-73251-2.rs:29:25 | |
| | |
LL | pub fn lint_me() -> <AliasB as TraitB>::Assoc; | |
| ^^^^^^^^^^^^^^^^^^^^^^^^^ not FFI-safe | |
| | |
note: the lint level is defined here | |
--> $DIR/lint-ctypes-73251-2.rs:2:9 | |
| | |
LL | #![deny(improper_ctypes)] | |
| ^^^^^^^^^^^^^^^ | |
= note: opaque types have no C equivalent | |
error: aborting due to previous error | |