79 lines
2.7 KiB
Plaintext
79 lines
2.7 KiB
Plaintext
error: fn_abi_of(pass_zst) = FnAbi {
|
|
args: [
|
|
ArgAbi {
|
|
layout: TyAndLayout {
|
|
ty: (),
|
|
layout: Layout {
|
|
size: Size(0 bytes),
|
|
align: AbiAndPrefAlign {
|
|
abi: $SOME_ALIGN,
|
|
pref: $SOME_ALIGN,
|
|
},
|
|
abi: Aggregate {
|
|
sized: true,
|
|
},
|
|
fields: Arbitrary {
|
|
offsets: [],
|
|
memory_index: [],
|
|
},
|
|
largest_niche: None,
|
|
variants: Single {
|
|
index: 0,
|
|
},
|
|
max_repr_align: None,
|
|
unadjusted_abi_align: $SOME_ALIGN,
|
|
},
|
|
},
|
|
mode: Indirect {
|
|
attrs: ArgAttributes {
|
|
regular: NoAlias | NoCapture | NonNull | NoUndef,
|
|
arg_ext: None,
|
|
pointee_size: Size(0 bytes),
|
|
pointee_align: Some(
|
|
Align(1 bytes),
|
|
),
|
|
},
|
|
meta_attrs: None,
|
|
on_stack: false,
|
|
},
|
|
},
|
|
],
|
|
ret: ArgAbi {
|
|
layout: TyAndLayout {
|
|
ty: (),
|
|
layout: Layout {
|
|
size: Size(0 bytes),
|
|
align: AbiAndPrefAlign {
|
|
abi: $SOME_ALIGN,
|
|
pref: $SOME_ALIGN,
|
|
},
|
|
abi: Aggregate {
|
|
sized: true,
|
|
},
|
|
fields: Arbitrary {
|
|
offsets: [],
|
|
memory_index: [],
|
|
},
|
|
largest_niche: None,
|
|
variants: Single {
|
|
index: 0,
|
|
},
|
|
max_repr_align: None,
|
|
unadjusted_abi_align: $SOME_ALIGN,
|
|
},
|
|
},
|
|
mode: Ignore,
|
|
},
|
|
c_variadic: false,
|
|
fixed_count: 1,
|
|
conv: X86_64Win64,
|
|
can_unwind: false,
|
|
}
|
|
--> $DIR/win64-zst.rs:11:1
|
|
|
|
|
LL | extern "win64" fn pass_zst(_: ()) {}
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
error: aborting due to 1 previous error
|
|
|