d9485be595
This commit replaces the use of `expect_local` and `hir().get` to fetch the identifier for a ADT with `item_name` - which works across crates. Signed-off-by: David Wood <david@davidtw.co>
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`.
|