]> git.lizzy.rs Git - rust.git/blob - src/test/ui/repr/repr-transparent-issue-87496.stderr
Override rustc version in ui and mir-opt tests to get stable hashes
[rust.git] / src / test / 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: `#[warn(improper_ctypes)]` on by default
8    = note: this struct contains only zero-sized fields
9 note: the type is defined here
10   --> $DIR/repr-transparent-issue-87496.rs:6:1
11    |
12 LL | struct TransparentCustomZst(());
13    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
14
15 warning: 1 warning emitted
16