|
LL | #![deny(improper_ctypes)]
| ^^^^^^^^^^^^^^^
- = help: consider adding a #[repr(C)] or #[repr(transparent)] attribute to this struct
+ = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct
note: type defined here
--> $DIR/issue-14309.rs:4:1
|
LL | fn bar(x: B);
| ^
|
- = help: consider adding a #[repr(C)] or #[repr(transparent)] attribute to this struct
+ = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct
note: type defined here
--> $DIR/issue-14309.rs:4:1
|
LL | fn qux(x: A2);
| ^^
|
- = help: consider adding a #[repr(C)] or #[repr(transparent)] attribute to this struct
+ = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct
note: type defined here
--> $DIR/issue-14309.rs:4:1
|
LL | fn quux(x: B2);
| ^^
|
- = help: consider adding a #[repr(C)] or #[repr(transparent)] attribute to this struct
+ = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct
note: type defined here
--> $DIR/issue-14309.rs:4:1
|
LL | fn fred(x: D);
| ^
|
- = help: consider adding a #[repr(C)] or #[repr(transparent)] attribute to this struct
+ = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct
note: type defined here
--> $DIR/issue-14309.rs:4:1
|