about summary refs log tree commit diff
path: root/compiler/rustc_codegen_ssa/src/traits/misc.rs
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2024-09-18 17:49:43 +0200
committerGitHub <noreply@github.com>2024-09-18 17:49:43 +0200
commit21313d7947d435217a916c0d71999a077b90c979 (patch)
treeea6eacbef6d50e65f9df3166a7a019c685da10c3 /compiler/rustc_codegen_ssa/src/traits/misc.rs
parentaaed38b2a631dfc593454abf471d75d84033773e (diff)
parentacb832d6403879984bbd3d71ad67c15fb4166e67 (diff)
downloadrust-21313d7947d435217a916c0d71999a077b90c979.tar.gz
rust-21313d7947d435217a916c0d71999a077b90c979.zip
Rollup merge of #130457 - nnethercote:cleanup-codegen-traits, r=bjorn3
Cleanup codegen traits

The traits governing codegen are quite complicated and hard to follow. This PR cleans them up a bit.

r? `@bjorn3`
Diffstat (limited to 'compiler/rustc_codegen_ssa/src/traits/misc.rs')
-rw-r--r--compiler/rustc_codegen_ssa/src/traits/misc.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_codegen_ssa/src/traits/misc.rs b/compiler/rustc_codegen_ssa/src/traits/misc.rs
index bf1b7eabe23..5b33fd7ab10 100644
--- a/compiler/rustc_codegen_ssa/src/traits/misc.rs
+++ b/compiler/rustc_codegen_ssa/src/traits/misc.rs
@@ -7,7 +7,7 @@ use rustc_session::Session;
 
 use super::BackendTypes;
 
-pub trait MiscMethods<'tcx>: BackendTypes {
+pub trait MiscCodegenMethods<'tcx>: BackendTypes {
     fn vtables(
         &self,
     ) -> &RefCell<FxHashMap<(Ty<'tcx>, Option<ty::PolyExistentialTraitRef<'tcx>>), Self::Value>>;