Open
Description
@eddyb suggested that the #[rustc_layout]
attribute (usage example) should be improved to replace -Z print-type-sizes
and then be used for these tests. Then the tests also would not have to be ignore-pass
any more.
That attribute also seems very useful when working with LayoutDetails
in general in Rust, I would have loved to know about its existence. I wonder what would be a good place to document it?
Also see this blog post on rustc_layout
.