summary refs log tree commit diff
path: root/compiler/rustc_const_eval/src/interpret
diff options
context:
space:
mode:
authorMichael Goulet <michael@errs.io>2024-09-11 14:58:08 -0400
committerMichael Goulet <michael@errs.io>2024-09-11 17:52:53 -0400
commit6d064295c8fb7413cb0500289f922f8d7feb38dc (patch)
tree1c0746343653491bcf5e0290b88db58bfeb253d2 /compiler/rustc_const_eval/src/interpret
parent5a2dd7d4f3210629e65879aeecbe643ba3b86bb4 (diff)
downloadrust-6d064295c8fb7413cb0500289f922f8d7feb38dc.tar.gz
rust-6d064295c8fb7413cb0500289f922f8d7feb38dc.zip
clippy::useless_conversion
Diffstat (limited to 'compiler/rustc_const_eval/src/interpret')
-rw-r--r--compiler/rustc_const_eval/src/interpret/call.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_const_eval/src/interpret/call.rs b/compiler/rustc_const_eval/src/interpret/call.rs
index 568a9a3a637..5687e72569f 100644
--- a/compiler/rustc_const_eval/src/interpret/call.rs
+++ b/compiler/rustc_const_eval/src/interpret/call.rs
@@ -823,7 +823,7 @@ impl<'tcx, M: Machine<'tcx>> InterpCx<'tcx, M> {
             (Abi::Rust, fn_abi),
             &[FnArg::Copy(arg.into())],
             false,
-            &ret.into(),
+            &ret,
             Some(target),
             unwind,
         )