Sha256: 2ede405a0d101eb843ea83c2836cc8399da54c105776f2c795f3138e03a1e5ef
Contents?: true
Size: 385 Bytes
Versions: 8
Compression:
Stored size: 385 Bytes
Contents
#![allow(unaligned_references)] use pin_project_lite::pin_project; pin_project! { //~ ERROR reference to packed field is unaligned #[repr(packed, C)] struct Packed { #[pin] field: u16, } } pin_project! { //~ ERROR reference to packed field is unaligned #[repr(packed(2))] struct PackedN { #[pin] field: u32, } } fn main() {}
Version data entries
8 entries across 8 versions & 1 rubygems