about summary refs log tree commit diff
path: root/compiler/rustc_codegen_gcc
diff options
context:
space:
mode:
authorManuel Drehwald <git@manuel.drehwald.info>2025-01-24 16:05:26 -0500
committerManuel Drehwald <git@manuel.drehwald.info>2025-01-24 16:05:26 -0500
commit386c233858874c5412345df6fd6ebf87298727dd (patch)
tree00e32a4928e01d989bda6ddf4aba700e8e699cf6 /compiler/rustc_codegen_gcc
parenta48e7b00570baaaba9d32d783d5702c06afd104d (diff)
downloadrust-386c233858874c5412345df6fd6ebf87298727dd.tar.gz
rust-386c233858874c5412345df6fd6ebf87298727dd.zip
Make CodegenCx and Builder generic
Co-authored-by: Oli Scherer <github35764891676564198441@oli-obk.de>
Diffstat (limited to 'compiler/rustc_codegen_gcc')
-rw-r--r--compiler/rustc_codegen_gcc/src/lib.rs1
1 files changed, 0 insertions, 1 deletions
diff --git a/compiler/rustc_codegen_gcc/src/lib.rs b/compiler/rustc_codegen_gcc/src/lib.rs
index 7329080ce1f..34aead1a630 100644
--- a/compiler/rustc_codegen_gcc/src/lib.rs
+++ b/compiler/rustc_codegen_gcc/src/lib.rs
@@ -442,7 +442,6 @@ impl WriteBackendMethods for GccCodegenBackend {
     }
     fn autodiff(
         _cgcx: &CodegenContext<Self>,
-        _tcx: TyCtxt<'_>,
         _module: &ModuleCodegen<Self::Module>,
         _diff_fncs: Vec<AutoDiffItem>,
         _config: &ModuleConfig,