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