From f3fa720352c992c3bd7b3c6fb21aac514943db8d Mon Sep 17 00:00:00 2001 From: geetanshjuneja Date: Sat, 15 Feb 2025 09:37:01 +0530 Subject: made check_argument_compat public --- compiler/rustc_const_eval/src/interpret/call.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'compiler/rustc_const_eval/src/interpret') diff --git a/compiler/rustc_const_eval/src/interpret/call.rs b/compiler/rustc_const_eval/src/interpret/call.rs index cdf706f3752..995cec41145 100644 --- a/compiler/rustc_const_eval/src/interpret/call.rs +++ b/compiler/rustc_const_eval/src/interpret/call.rs @@ -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>>, -- cgit 1.4.1-3-g733a5