made check_argument_compat public

This commit is contained in:
geetanshjuneja 2025-02-15 09:37:01 +05:30
parent 54a0f387ea
commit f3fa720352

View file

@ -241,7 +241,7 @@ impl<'tcx, M: Machine<'tcx>> InterpCx<'tcx, M> {
interp_ok(caller == callee)
}
fn check_argument_compat(
pub fn check_argument_compat(
&self,
caller_abi: &ArgAbi<'tcx, Ty<'tcx>>,
callee_abi: &ArgAbi<'tcx, Ty<'tcx>>,