]> git.lizzy.rs Git - rust.git/blobdiff - src/test/ui/union/union-repr-c.stderr
Implement RFC 2645 (transparent enums and unions)
[rust.git] / src / test / ui / union / union-repr-c.stderr
index 40d9a50f1fa4f0993b2c1039383cf4522dc4e70f..c60817a849a3bb2912ad82c3ce3804998a9caae9 100644 (file)
@@ -9,7 +9,7 @@ note: lint level defined here
    |
 LL | #![deny(improper_ctypes)]
    |         ^^^^^^^^^^^^^^^
-   = help: consider adding a #[repr(C)] attribute to this union
+   = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this union
 note: type defined here
   --> $DIR/union-repr-c.rs:9:1
    |