1 error: `extern` block uses type `A`, which is not FFI-safe
2 --> $DIR/issue-14309.rs:30:15
7 note: the lint level is 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: this struct has unspecified layout
14 note: the type is defined here
15 --> $DIR/issue-14309.rs:4:1
22 error: `extern` block uses type `A`, which is not FFI-safe
23 --> $DIR/issue-14309.rs:31:15
28 = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct
29 = note: this struct has unspecified layout
30 note: the type is defined here
31 --> $DIR/issue-14309.rs:4:1
38 error: `extern` block uses type `A`, which is not FFI-safe
39 --> $DIR/issue-14309.rs:33:15
44 = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct
45 = note: this struct has unspecified layout
46 note: the type is defined here
47 --> $DIR/issue-14309.rs:4:1
54 error: `extern` block uses type `A`, which is not FFI-safe
55 --> $DIR/issue-14309.rs:34:16
60 = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct
61 = note: this struct has unspecified layout
62 note: the type is defined here
63 --> $DIR/issue-14309.rs:4:1
70 error: `extern` block uses type `A`, which is not FFI-safe
71 --> $DIR/issue-14309.rs:36:16
76 = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct
77 = note: this struct has unspecified layout
78 note: the type is defined here
79 --> $DIR/issue-14309.rs:4:1
86 error: aborting due to 5 previous errors