Skip to content

Commit 7c91ec4

Browse files
committed
Remove unused Context assoc type from WriteBackendMethods
1 parent 744e397 commit 7c91ec4

File tree

3 files changed

+0
-3
lines changed

3 files changed

+0
-3
lines changed

compiler/rustc_codegen_gcc/src/lib.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -210,7 +210,6 @@ impl WriteBackendMethods for GccCodegenBackend {
210210
type Module = GccContext;
211211
type TargetMachine = ();
212212
type ModuleBuffer = ModuleBuffer;
213-
type Context = ();
214213
type ThinData = ();
215214
type ThinBuffer = ThinBuffer;
216215

compiler/rustc_codegen_llvm/src/lib.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,6 @@ impl ExtraBackendMethods for LlvmCodegenBackend {
170170
impl WriteBackendMethods for LlvmCodegenBackend {
171171
type Module = ModuleLlvm;
172172
type ModuleBuffer = back::lto::ModuleBuffer;
173-
type Context = llvm::Context;
174173
type TargetMachine = &'static mut llvm::TargetMachine;
175174
type ThinData = back::lto::ThinData;
176175
type ThinBuffer = back::lto::ThinBuffer;

compiler/rustc_codegen_ssa/src/traits/write.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@ pub trait WriteBackendMethods: 'static + Sized + Clone {
99
type Module: Send + Sync;
1010
type TargetMachine;
1111
type ModuleBuffer: ModuleBufferMethods;
12-
type Context: ?Sized;
1312
type ThinData: Send + Sync;
1413
type ThinBuffer: ThinBufferMethods;
1514

0 commit comments

Comments
 (0)