Files
León Orell Valerian Liehr 7025605b8c Rename #[rustc_dump_layout]'s abi option to backend_repr
Moreover, dereference `ty_layout.align` for `#[rustc_dump_layout(align)]`
to render `align: Align($N bytes)` instead of `align: AbiAlign { abi: Align($N bytes) }`
which contains the same amount of information but it more concise and legible.
2026-04-10 12:13:52 +02:00

27 lines
685 B
Plaintext

error: align: Align(2 bytes)
--> $DIR/enum.rs:9:1
|
LL | enum UninhabitedVariantAlign {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
error: size: Size(16 bytes)
--> $DIR/enum.rs:15:1
|
LL | enum UninhabitedVariantSpace {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
error: backend_repr: ScalarPair(Initialized { value: Int(I8, false), valid_range: 0..=1 }, Initialized { value: Int(I8, false), valid_range: 0..=255 })
--> $DIR/enum.rs:21:1
|
LL | enum ScalarPairDifferingSign {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
error: size: Size(4 bytes)
--> $DIR/enum.rs:31:1
|
LL | enum DefinedLayoutAllUninhabited {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
error: aborting due to 4 previous errors