mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-25 16:24:46 +00:00
14 lines
275 B
Rust
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,
|
|
}
|
|
}
|