Skip to content

Commit 84506c6

Browse files
author
The Miri Cronjob Bot
committed
fmt
1 parent 789d1a4 commit 84506c6

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/tools/miri/src/helpers.rs

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -933,7 +933,11 @@ pub trait EvalContextExt<'tcx>: crate::MiriInterpCxExt<'tcx> {
933933
}
934934

935935
/// Check that the calling convention is what we expect.
936-
fn check_callconv<'a>(&self, fn_abi: &FnAbi<'tcx, Ty<'tcx>>, exp_abi: Conv) -> InterpResult<'a, ()> {
936+
fn check_callconv<'a>(
937+
&self,
938+
fn_abi: &FnAbi<'tcx, Ty<'tcx>>,
939+
exp_abi: Conv,
940+
) -> InterpResult<'a, ()> {
937941
if fn_abi.conv != exp_abi {
938942
throw_ub_format!(
939943
"calling a function with calling convention {exp_abi} using caller calling convention {}",

0 commit comments

Comments
 (0)