diff options
| author | tiif <pekyuan@gmail.com> | 2025-01-21 08:08:58 +0000 |
|---|---|---|
| committer | tiif <pekyuan@gmail.com> | 2025-03-12 14:38:51 +0000 |
| commit | 701b1948abd46425ab588108bb406b7519ec16fa (patch) | |
| tree | 74efd2718d56307d7656fd4c854f81669b826e61 /src | |
| parent | 0998d4095b0f11061f78a3f9c77a87838a4c1cb7 (diff) | |
impl Display for Conv
Diffstat (limited to 'src')
| -rw-r--r-- | src/tools/miri/src/helpers.rs | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/tools/miri/src/helpers.rs b/src/tools/miri/src/helpers.rs index 12e7d0f1a62..bf08f9639c0 100644 --- a/src/tools/miri/src/helpers.rs +++ b/src/tools/miri/src/helpers.rs @@ -932,8 +932,7 @@ pub trait EvalContextExt<'tcx>: crate::MiriInterpCxExt<'tcx> { fn check_abi<'a>(&self, fn_abi: &FnAbi<'tcx, Ty<'tcx>>, exp_abi: Conv) -> InterpResult<'a, ()> { if fn_abi.conv != exp_abi { throw_ub_format!( - "calling a function with ABI {:?} using caller ABI {:?}", - exp_abi, + "calling a function with ABI {exp_abi} using caller ABI {}", fn_abi.conv ); } |
