]> git.lizzy.rs Git - rust.git/blob - tests/ui/lint/lint-ctypes-73251-2.stderr
Rollup merge of #104965 - zacklukem:p-option-as_ref-docs, r=scottmcm
[rust.git] / tests / ui / lint / lint-ctypes-73251-2.stderr
1 error: `extern` block uses type `AliasA`, which is not FFI-safe
2   --> $DIR/lint-ctypes-73251-2.rs:36:25
3    |
4 LL |     pub 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/lint-ctypes-73251-2.rs:2:9
10    |
11 LL | #![deny(improper_ctypes)]
12    |         ^^^^^^^^^^^^^^^
13
14 error: aborting due to previous error
15