about summary refs log tree commit diff
path: root/tests/ui/lint/opaque-ty-ffi-normalization-cycle.stderr
blob: 020eac4febb801b7ec37cffcc47b761b3f859e6f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
error: `extern` block uses type `AliasB`, which is not FFI-safe
  --> $DIR/opaque-ty-ffi-normalization-cycle.rs:39: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 1 previous error