about summary refs log tree commit diff
path: root/compiler/rustc_codegen_gcc
diff options
context:
space:
mode:
authorsayantn <sayantn05@gmail.com>2025-05-30 21:41:36 +0530
committersayantn <sayantn05@gmail.com>2025-06-12 00:32:42 +0530
commitd56fcd968d1334bf0c80205fb805a88999fffb5a (patch)
treeb29157143ae1fde9e88c98ee3043ca7a6e7348aa /compiler/rustc_codegen_gcc
parent14863ea0777c68348b3e6e7a8472423d273a52af (diff)
downloadrust-d56fcd968d1334bf0c80205fb805a88999fffb5a.tar.gz
rust-d56fcd968d1334bf0c80205fb805a88999fffb5a.zip
Simplify implementation of Rust intrinsics by using type parameters in the cache
Diffstat (limited to 'compiler/rustc_codegen_gcc')
-rw-r--r--compiler/rustc_codegen_gcc/src/builder.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_codegen_gcc/src/builder.rs b/compiler/rustc_codegen_gcc/src/builder.rs
index d1fb8d8f9d6..1bd89212100 100644
--- a/compiler/rustc_codegen_gcc/src/builder.rs
+++ b/compiler/rustc_codegen_gcc/src/builder.rs
@@ -897,7 +897,7 @@ impl<'a, 'gcc, 'tcx> BuilderMethods<'a, 'tcx> for Builder<'a, 'gcc, 'tcx> {
     fn checked_binop(
         &mut self,
         oop: OverflowOp,
-        typ: Ty<'_>,
+        typ: Ty<'tcx>,
         lhs: Self::Value,
         rhs: Self::Value,
     ) -> (Self::Value, Self::Value) {