]> git.proxmox.com Git - rustc.git/blob - src/test/ui/lint/lint-ctypes-73249-2.full_tait.stderr
New upstream version 1.55.0+dfsg1
[rustc.git] / src / test / ui / lint / lint-ctypes-73249-2.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-73249-2.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-73249-2.rs:29:25
12 |
13 LL | pub fn lint_me() -> A<()>;
14 | ^^^^^ not FFI-safe
15 |
16 note: the lint level is defined here
17 --> $DIR/lint-ctypes-73249-2.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