rust/tests/ui/lint/opaque-ty-ffi-normalization-cycle.stderr

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

16 lines
483 B
Plaintext
Raw Normal View History

error: `extern` block uses type `AliasB`, which is not FFI-safe
--> $DIR/opaque-ty-ffi-normalization-cycle.rs:37:21
|
LL | fn lint_me() -> <AliasB as TraitB>::Assoc;
| ^^^^^^^^^^^^^^^^^^^^^^^^^ not FFI-safe
|
= note: opaque types have no C equivalent
note: the lint level is defined here
--> $DIR/opaque-ty-ffi-normalization-cycle.rs:3:9
|
LL | #![deny(improper_ctypes)]
| ^^^^^^^^^^^^^^^
error: aborting due to previous error