Skip to content

Commit 29440b8

Browse files
committed
Remove an unused lifetime param
1 parent 396baa7 commit 29440b8

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

Diff for: compiler/rustc_codegen_gcc/src/abi.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ use crate::context::CodegenCx;
1616
use crate::intrinsic::ArgAbiExt;
1717
use crate::type_of::LayoutGccExt;
1818

19-
impl<'a, 'gcc, 'tcx> AbiBuilderMethods<'tcx> for Builder<'a, 'gcc, 'tcx> {
19+
impl AbiBuilderMethods for Builder<'_, '_, '_> {
2020
fn get_param(&mut self, index: usize) -> Self::Value {
2121
let func = self.current_func();
2222
let param = func.get_param(index as i32);

Diff for: compiler/rustc_codegen_llvm/src/abi.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -654,7 +654,7 @@ impl<'ll, 'tcx> FnAbiLlvmExt<'ll, 'tcx> for FnAbi<'tcx, Ty<'tcx>> {
654654
}
655655
}
656656

657-
impl<'tcx> AbiBuilderMethods<'tcx> for Builder<'_, '_, 'tcx> {
657+
impl AbiBuilderMethods for Builder<'_, '_, '_> {
658658
fn get_param(&mut self, index: usize) -> Self::Value {
659659
llvm::get_param(self.llfn(), index as c_uint)
660660
}

Diff for: compiler/rustc_codegen_ssa/src/traits/abi.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
use super::BackendTypes;
22

3-
pub trait AbiBuilderMethods<'tcx>: BackendTypes {
3+
pub trait AbiBuilderMethods: BackendTypes {
44
fn get_param(&mut self, index: usize) -> Self::Value;
55
}

Diff for: compiler/rustc_codegen_ssa/src/traits/builder.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ pub trait BuilderMethods<'a, 'tcx>:
4040
+ CoverageInfoBuilderMethods<'tcx>
4141
+ DebugInfoBuilderMethods
4242
+ ArgAbiBuilderMethods<'tcx>
43-
+ AbiBuilderMethods<'tcx>
43+
+ AbiBuilderMethods
4444
+ IntrinsicCallBuilderMethods<'tcx>
4545
+ AsmBuilderMethods<'tcx>
4646
+ StaticBuilderMethods

0 commit comments

Comments
 (0)