about summary refs log tree commit diff
path: root/compiler/rustc_const_eval/src/interpret/call.rs
diff options
context:
space:
mode:
authorgeetanshjuneja <ronitjuneja2002@gmail.com>2025-02-15 09:37:01 +0530
committergeetanshjuneja <ronitjuneja2002@gmail.com>2025-02-15 09:37:01 +0530
commitf3fa720352c992c3bd7b3c6fb21aac514943db8d (patch)
tree3d056717b8f52b992e312ec4d08048ad193b4800 /compiler/rustc_const_eval/src/interpret/call.rs
parent54a0f387ea8c7bcb79b8e40c074a484d31b51990 (diff)
downloadrust-f3fa720352c992c3bd7b3c6fb21aac514943db8d.tar.gz
rust-f3fa720352c992c3bd7b3c6fb21aac514943db8d.zip
made check_argument_compat public
Diffstat (limited to 'compiler/rustc_const_eval/src/interpret/call.rs')
-rw-r--r--compiler/rustc_const_eval/src/interpret/call.rs2
1 files changed, 1 insertions, 1 deletions
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>>,