]>
Commit | Line | Data |
---|---|---|
f035d41b XL |
1 | error: `extern` block uses type `impl Baz`, which is not FFI-safe |
2 | --> $DIR/lint-ctypes-73251-1.rs:21:25 | |
3 | | | |
4 | LL | pub fn lint_me() -> <u32 as Foo>::Assoc; | |
5 | | ^^^^^^^^^^^^^^^^^^^ not FFI-safe | |
6 | | | |
7 | note: the lint level is defined here | |
8 | --> $DIR/lint-ctypes-73251-1.rs:2:9 | |
9 | | | |
10 | LL | #![deny(improper_ctypes)] | |
11 | | ^^^^^^^^^^^^^^^ | |
12 | = note: opaque types have no C equivalent | |
13 | ||
14 | error: aborting due to previous error | |
15 |