Skip to content

Commit ba7efb8

Browse files
committed
impl Display for Conv
1 parent 319c181 commit ba7efb8

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/helpers.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -932,8 +932,7 @@ pub trait EvalContextExt<'tcx>: crate::MiriInterpCxExt<'tcx> {
932932
fn check_abi<'a>(&self, fn_abi: &FnAbi<'tcx, Ty<'tcx>>, exp_abi: Conv) -> InterpResult<'a, ()> {
933933
if fn_abi.conv != exp_abi {
934934
throw_ub_format!(
935-
"calling a function with ABI {:?} using caller ABI {:?}",
936-
exp_abi,
935+
"calling a function with ABI {exp_abi} using caller ABI {}",
937936
fn_abi.conv
938937
);
939938
}

0 commit comments

Comments
 (0)