From 8769d03caf689f89e778f95f5458a5b69be6258d Mon Sep 17 00:00:00 2001 From: Ralf Jung Date: Sat, 15 Feb 2025 08:21:27 +0100 Subject: add a doc comment --- compiler/rustc_const_eval/src/interpret/call.rs | 1 + 1 file changed, 1 insertion(+) (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 995cec41145..29f819cca1f 100644 --- a/compiler/rustc_const_eval/src/interpret/call.rs +++ b/compiler/rustc_const_eval/src/interpret/call.rs @@ -241,6 +241,7 @@ impl<'tcx, M: Machine<'tcx>> InterpCx<'tcx, M> { interp_ok(caller == callee) } + /// Returns a `bool` saying whether the two arguments are ABI-compatible. pub fn check_argument_compat( &self, caller_abi: &ArgAbi<'tcx, Ty<'tcx>>, -- cgit 1.4.1-3-g733a5