rust/tests/ui/issues/issue-73112.rs
2024-02-16 20:02:50 +00:00

14 lines
275 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,
}
}