]> git.lizzy.rs Git - rust.git/blob - src/test/ui/lint/lint-ctypes-73251-1.full_tait.stderr
Rollup merge of #87180 - notriddle:notriddle/sidebar-keyboard-mobile, r=GuillaumeGomez
[rust.git] / src / test / ui / lint / lint-ctypes-73251-1.full_tait.stderr
1 warning: the feature `type_alias_impl_trait` is incomplete and may not be safe to use and/or cause compiler crashes
2   --> $DIR/lint-ctypes-73251-1.rs:3:32
3    |
4 LL | #![cfg_attr(full_tait, feature(type_alias_impl_trait))]
5    |                                ^^^^^^^^^^^^^^^^^^^^^
6    |
7    = note: `#[warn(incomplete_features)]` on by default
8    = note: see issue #63063 <https://github.com/rust-lang/rust/issues/63063> for more information
9
10 error: `extern` block uses type `impl Baz`, which is not FFI-safe
11   --> $DIR/lint-ctypes-73251-1.rs:24:25
12    |
13 LL |     pub fn lint_me() -> <u32 as Foo>::Assoc;
14    |                         ^^^^^^^^^^^^^^^^^^^ not FFI-safe
15    |
16 note: the lint level is defined here
17   --> $DIR/lint-ctypes-73251-1.rs:5:9
18    |
19 LL | #![deny(improper_ctypes)]
20    |         ^^^^^^^^^^^^^^^
21    = note: opaque types have no C equivalent
22
23 error: aborting due to previous error; 1 warning emitted
24