1 error: `extern` block uses type `A` which is not FFI-safe: this struct has unspecified layout
2 --> $DIR/issue-14309.rs:30:15
7 note: lint level defined here
8 --> $DIR/issue-14309.rs:1:9
10 LL | #![deny(improper_ctypes)]
12 = help: consider adding a #[repr(C)] or #[repr(transparent)] attribute to this struct
13 note: type defined here
14 --> $DIR/issue-14309.rs:4:1
21 error: `extern` block uses type `A` which is not FFI-safe: this struct has unspecified layout
22 --> $DIR/issue-14309.rs:31:15
27 = help: consider adding a #[repr(C)] or #[repr(transparent)] attribute to this struct
28 note: type defined here
29 --> $DIR/issue-14309.rs:4:1
36 error: `extern` block uses type `A` which is not FFI-safe: this struct has unspecified layout
37 --> $DIR/issue-14309.rs:33:15
42 = help: consider adding a #[repr(C)] or #[repr(transparent)] attribute to this struct
43 note: type defined here
44 --> $DIR/issue-14309.rs:4:1
51 error: `extern` block uses type `A` which is not FFI-safe: this struct has unspecified layout
52 --> $DIR/issue-14309.rs:34:16
57 = help: consider adding a #[repr(C)] or #[repr(transparent)] attribute to this struct
58 note: type defined here
59 --> $DIR/issue-14309.rs:4:1
66 error: `extern` block uses type `A` which is not FFI-safe: this struct has unspecified layout
67 --> $DIR/issue-14309.rs:36:16
72 = help: consider adding a #[repr(C)] or #[repr(transparent)] attribute to this struct
73 note: type defined here
74 --> $DIR/issue-14309.rs:4:1
81 error: aborting due to 5 previous errors