Lines Matching full:transparent
1041 // `#[repr(transparent)]` structs, and this `impl` block
1052 // `#[repr(transparent)]` structs, and this `impl` block requires all
1068 // `#[repr(transparent)]` structs, and this `impl` block requires all
1084 // `#[repr(transparent)]` structs, this `impl` block requires all field
1112 // `#[repr(transparent)]` structs, and this `impl` block requires all
1127 (@assert_allowed_struct_repr #[repr(transparent)]) => {};
1130 compile_error!("repr must be `#[repr(transparent)]` or `#[repr(C)]`");
1133 @struct_padding_check #[repr(transparent)]
1137 // SAFETY: `#[repr(transparent)]` structs cannot have the same layout as
1288 #[repr(transparent)] in test_transmute()
1326 #[repr(transparent)]
1451 #[repr(transparent)] in test_try_transmute()
1715 #[repr(transparent)] in test_cryptocorrosion_derive_traits()
1723 #[repr(transparent)] in test_cryptocorrosion_derive_traits()
1731 #[repr(transparent)] in test_cryptocorrosion_derive_traits()
1739 #[repr(transparent)] in test_cryptocorrosion_derive_traits()
1749 #[repr(transparent)] in test_cryptocorrosion_derive_traits()
1792 #[repr(transparent)] in test_cryptocorrosion_derive_traits()
1806 #[repr(transparent)] in test_cryptocorrosion_derive_traits()