diff options
| author | bjorn3 <17426603+bjorn3@users.noreply.github.com> | 2025-05-22 14:58:58 +0000 |
|---|---|---|
| committer | bjorn3 <17426603+bjorn3@users.noreply.github.com> | 2025-05-26 10:13:03 +0000 |
| commit | 0a14e1b2e7483179fa74f44d3c198c33325f6d29 (patch) | |
| tree | 218561c3cbd1c4d326b60d7e197f51bfd623de20 /compiler/rustc_codegen_ssa/src/traits | |
| parent | 6016f84e716c443f64c491a26f5ec1dfd42f2491 (diff) | |
| download | rust-0a14e1b2e7483179fa74f44d3c198c33325f6d29.tar.gz rust-0a14e1b2e7483179fa74f44d3c198c33325f6d29.zip | |
Remove usage of FnAbi in codegen_intrinsic_call
Diffstat (limited to 'compiler/rustc_codegen_ssa/src/traits')
| -rw-r--r-- | compiler/rustc_codegen_ssa/src/traits/intrinsic.rs | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/compiler/rustc_codegen_ssa/src/traits/intrinsic.rs b/compiler/rustc_codegen_ssa/src/traits/intrinsic.rs index f9d6dab6faf..a07c569a032 100644 --- a/compiler/rustc_codegen_ssa/src/traits/intrinsic.rs +++ b/compiler/rustc_codegen_ssa/src/traits/intrinsic.rs @@ -1,6 +1,5 @@ -use rustc_middle::ty::{self, Ty}; +use rustc_middle::ty; use rustc_span::Span; -use rustc_target::callconv::FnAbi; use super::BackendTypes; use crate::mir::operand::OperandRef; @@ -15,7 +14,6 @@ pub trait IntrinsicCallBuilderMethods<'tcx>: BackendTypes { fn codegen_intrinsic_call( &mut self, instance: ty::Instance<'tcx>, - fn_abi: &FnAbi<'tcx, Ty<'tcx>>, args: &[OperandRef<'tcx, Self::Value>], result: PlaceRef<'tcx, Self::Value>, span: Span, |
