]> git.lizzy.rs Git - rust.git/blob - tests/ui/lint/opaque-ty-ffi-normalization-cycle.stderr
Auto merge of #106884 - clubby789:fieldless-enum-debug, r=michaelwoerister
[rust.git] / tests / ui / lint / opaque-ty-ffi-normalization-cycle.stderr
1 error: `extern` block uses type `AliasB`, which is not FFI-safe
2   --> $DIR/opaque-ty-ffi-normalization-cycle.rs:37:21
3    |
4 LL |     fn lint_me() -> <AliasB as TraitB>::Assoc;
5    |                     ^^^^^^^^^^^^^^^^^^^^^^^^^ not FFI-safe
6    |
7    = note: opaque types have no C equivalent
8 note: the lint level is defined here
9   --> $DIR/opaque-ty-ffi-normalization-cycle.rs:3:9
10    |
11 LL | #![deny(improper_ctypes)]
12    |         ^^^^^^^^^^^^^^^
13
14 error: aborting due to previous error
15