fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #103046 - JanBeh:PR_clarify_cmp_terminology, r=workingjubilee3bcad65fbf6

master
529 B16 linesraw
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