fork/rust
git clone https://git.julia.blue/fork/rust
3bcad65fbf6
master
1warning: `extern` block uses type `TransparentCustomZst`, which is not FFI-safe 2 --> $DIR/repr-transparent-issue-87496.rs:8:18 3 | 4LL | fn good17(p: TransparentCustomZst); 5 | ^^^^^^^^^^^^^^^^^^^^ not FFI-safe 6 | 7 = note: this struct contains only zero-sized fields 8note: the type is defined here 9 --> $DIR/repr-transparent-issue-87496.rs:6:1 10 | 11LL | struct TransparentCustomZst(()); 12 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13 = note: `#[warn(improper_ctypes)]` on by default 14 15warning: 1 warning emitted 16