Skip to content

Conversation

Firestar99
Copy link
Member

closes #428

callee_ty: Self::Type,
_fn_attrs: Option<&CodegenFnAttrs>,
_fn_abi: Option<&FnAbi<'tcx, Ty<'tcx>>>,
fn_abi: Option<&FnAbi<'tcx, Ty<'tcx>>>,
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I hope just using the one given to me is correct here, previously the FnAbi was computed from:

let fn_abi = self.fn_abi_of_instance(instance, ty::List::empty());

But it was in a function that wasn't given an FnAbi but a rustc_middle::ty::Instance, which I never interacted with.

@Firestar99 Firestar99 marked this pull request as ready for review October 8, 2025 16:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

ByteAddressableBuffer: storing a Scalar and ScalarPair within the same codebase fails to compile

1 participant