Skip to content

Commit f3fa720

Browse files
made check_argument_compat public
1 parent 54a0f38 commit f3fa720

File tree

1 file changed

+1
-1
lines changed
  • compiler/rustc_const_eval/src/interpret

1 file changed

+1
-1
lines changed

compiler/rustc_const_eval/src/interpret/call.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -241,7 +241,7 @@ impl<'tcx, M: Machine<'tcx>> InterpCx<'tcx, M> {
241241
interp_ok(caller == callee)
242242
}
243243

244-
fn check_argument_compat(
244+
pub fn check_argument_compat(
245245
&self,
246246
caller_abi: &ArgAbi<'tcx, Ty<'tcx>>,
247247
callee_abi: &ArgAbi<'tcx, Ty<'tcx>>,

0 commit comments

Comments
 (0)