diff options
| author | geetanshjuneja <ronitjuneja2002@gmail.com> | 2025-02-15 09:37:01 +0530 | 
|---|---|---|
| committer | geetanshjuneja <ronitjuneja2002@gmail.com> | 2025-02-15 09:37:01 +0530 | 
| commit | f3fa720352c992c3bd7b3c6fb21aac514943db8d (patch) | |
| tree | 3d056717b8f52b992e312ec4d08048ad193b4800 /compiler/rustc_const_eval/src/interpret/call.rs | |
| parent | 54a0f387ea8c7bcb79b8e40c074a484d31b51990 (diff) | |
| download | rust-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.rs | 2 | 
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>>, | 
