diff options
| author | Michael Goulet <michael@errs.io> | 2025-01-10 20:26:10 +0000 |
|---|---|---|
| committer | Michael Goulet <michael@errs.io> | 2025-01-30 15:34:00 +0000 |
| commit | 9dc41a048d7dc765b28102d557eec40ff050e6ab (patch) | |
| tree | f431810d727b7ec2e28f0f41ea86254a09e89dc8 /compiler/rustc_codegen_ssa/src/traits/misc.rs | |
| parent | 739ef83f318defbb9692029fa98f56639896c6fd (diff) | |
| download | rust-9dc41a048d7dc765b28102d557eec40ff050e6ab.tar.gz rust-9dc41a048d7dc765b28102d557eec40ff050e6ab.zip | |
Use ExistentialTraitRef throughout codegen
Diffstat (limited to 'compiler/rustc_codegen_ssa/src/traits/misc.rs')
| -rw-r--r-- | compiler/rustc_codegen_ssa/src/traits/misc.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/compiler/rustc_codegen_ssa/src/traits/misc.rs b/compiler/rustc_codegen_ssa/src/traits/misc.rs index 5b33fd7ab10..4004947b464 100644 --- a/compiler/rustc_codegen_ssa/src/traits/misc.rs +++ b/compiler/rustc_codegen_ssa/src/traits/misc.rs @@ -10,11 +10,11 @@ use super::BackendTypes; pub trait MiscCodegenMethods<'tcx>: BackendTypes { fn vtables( &self, - ) -> &RefCell<FxHashMap<(Ty<'tcx>, Option<ty::PolyExistentialTraitRef<'tcx>>), Self::Value>>; + ) -> &RefCell<FxHashMap<(Ty<'tcx>, Option<ty::ExistentialTraitRef<'tcx>>), Self::Value>>; fn apply_vcall_visibility_metadata( &self, _ty: Ty<'tcx>, - _poly_trait_ref: Option<ty::PolyExistentialTraitRef<'tcx>>, + _poly_trait_ref: Option<ty::ExistentialTraitRef<'tcx>>, _vtable: Self::Value, ) { } |
