fork/rust

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

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

master
577 B21 linesraw
1error: `extern` block uses type `W`, which is not FFI-safe
2  --> $DIR/union-repr-c.rs:15:22
3   |
4LL |     static FOREIGN2: W;
5   |                      ^ not FFI-safe
6   |
7   = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this union
8   = note: this union has unspecified layout
9note: the type is defined here
10  --> $DIR/union-repr-c.rs:9:1
11   |
12LL | union W {
13   | ^^^^^^^
14note: the lint level is defined here
15  --> $DIR/union-repr-c.rs:2:9
16   |
17LL | #![deny(improper_ctypes)]
18   |         ^^^^^^^^^^^^^^^
19
20error: aborting due to previous error
21