1 error: `extern` block uses type `A`, which is not FFI-safe
2 --> $DIR/issue-14309.rs:30:15
7 = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct
8 = note: this struct has unspecified layout
9 note: the type is defined here
10 --> $DIR/issue-14309.rs:4:1
14 note: the lint level is defined here
15 --> $DIR/issue-14309.rs:1:9
17 LL | #![deny(improper_ctypes)]
20 error: `extern` block uses type `A`, which is not FFI-safe
21 --> $DIR/issue-14309.rs:31:15
26 = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct
27 = note: this struct has unspecified layout
28 note: the type is defined here
29 --> $DIR/issue-14309.rs:4:1
34 error: `extern` block uses type `A`, which is not FFI-safe
35 --> $DIR/issue-14309.rs:33:15
40 = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct
41 = note: this struct has unspecified layout
42 note: the type is defined here
43 --> $DIR/issue-14309.rs:4:1
48 error: `extern` block uses type `A`, which is not FFI-safe
49 --> $DIR/issue-14309.rs:34:16
54 = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct
55 = note: this struct has unspecified layout
56 note: the type is defined here
57 --> $DIR/issue-14309.rs:4:1
62 error: `extern` block uses type `A`, which is not FFI-safe
63 --> $DIR/issue-14309.rs:36:16
68 = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct
69 = note: this struct has unspecified layout
70 note: the type is defined here
71 --> $DIR/issue-14309.rs:4:1
76 error: aborting due to 5 previous errors