rust/tests/ui/issues/issue-73112.rs
2023-01-11 09:32:08 +00:00

14 lines
274 B
Rust

// aux-build:issue-73112.rs
extern crate issue_73112;
fn main() {
use issue_73112::PageTable;
#[repr(C, packed)]
struct SomeStruct {
//~^ ERROR packed type cannot transitively contain a `#[repr(align)]` type [E0588]
page_table: PageTable,
}
}