summaryrefslogtreecommitdiffstats
path: root/tests/ui/lint/lint-ctypes-73251-2.stderr
blob: 40a9cd00c50ffb7583193d08cde3b41e4bfa35d2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
error: `extern` block uses type `AliasA`, which is not FFI-safe
  --> $DIR/lint-ctypes-73251-2.rs:36: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/lint-ctypes-73251-2.rs:2:9
   |
LL | #![deny(improper_ctypes)]
   |         ^^^^^^^^^^^^^^^

error: aborting due to 1 previous error