summaryrefslogtreecommitdiffstats
path: root/src/test/ui/lint/lint-ctypes-73251-1.stderr
blob: 9f43576ad73534e54a30d6e3f6d5c6e121e34507 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
error: `extern` block uses type `Qux`, which is not FFI-safe
  --> $DIR/lint-ctypes-73251-1.rs:23:25
   |
LL |     pub fn lint_me() -> <u32 as Foo>::Assoc;
   |                         ^^^^^^^^^^^^^^^^^^^ not FFI-safe
   |
   = note: opaque types have no C equivalent
note: the lint level is defined here
  --> $DIR/lint-ctypes-73251-1.rs:2:9
   |
LL | #![deny(improper_ctypes)]
   |         ^^^^^^^^^^^^^^^

error: aborting due to previous error