]> git.proxmox.com Git - rustc.git/blob - tests/ui/repr/repr-transparent-issue-87496.stderr
New upstream version 1.68.2+dfsg1
[rustc.git] / tests / ui / repr / repr-transparent-issue-87496.stderr
1 warning: `extern` block uses type `TransparentCustomZst`, which is not FFI-safe
2 --> $DIR/repr-transparent-issue-87496.rs:8:18
3 |
4 LL | fn good17(p: TransparentCustomZst);
5 | ^^^^^^^^^^^^^^^^^^^^ not FFI-safe
6 |
7 = note: this struct contains only zero-sized fields
8 note: the type is defined here
9 --> $DIR/repr-transparent-issue-87496.rs:6:1
10 |
11 LL | struct TransparentCustomZst(());
12 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^
13 = note: `#[warn(improper_ctypes)]` on by default
14
15 warning: 1 warning emitted
16