mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-24 07:44:10 +00:00
14 lines
274 B
Rust
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,
|
|
}
|
|
}
|