21 lines
515 B
Plaintext
21 lines
515 B
Plaintext
|
error[E0588]: packed type cannot transitively contain a `#[repr(align)]` type
|
||
|
--> $DIR/issue-73112.rs:9:5
|
||
|
|
|
||
|
LL | / struct SomeStruct {
|
||
|
LL | |
|
||
|
LL | | page_table: PageTable,
|
||
|
LL | | }
|
||
|
| |_____^
|
||
|
|
|
||
|
note: `PageTable` has a `#[repr(align)]` attribute
|
||
|
--> $DIR/auxiliary/issue-73112.rs:8:1
|
||
|
|
|
||
|
LL | / pub struct PageTable {
|
||
|
LL | | entries: [PageTableEntry; 512],
|
||
|
LL | | }
|
||
|
| |_^
|
||
|
|
||
|
error: aborting due to previous error
|
||
|
|
||
|
For more information about this error, try `rustc --explain E0588`.
|