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 note: the lint level is defined here
8 --> $DIR/union-repr-c.rs:2:9
10 LL | #![deny(improper_ctypes)]
12 = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this union
13 = note: this union has unspecified layout
14 note: the type is defined here
15 --> $DIR/union-repr-c.rs:9:1
22 error: aborting due to previous error