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