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/debuginfo.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/debuginfo.rs')
| -rw-r--r-- | compiler/rustc_codegen_ssa/src/traits/debuginfo.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/compiler/rustc_codegen_ssa/src/traits/debuginfo.rs b/compiler/rustc_codegen_ssa/src/traits/debuginfo.rs index fe135e911fb..30d77c206a5 100644 --- a/compiler/rustc_codegen_ssa/src/traits/debuginfo.rs +++ b/compiler/rustc_codegen_ssa/src/traits/debuginfo.rs @@ -2,7 +2,7 @@ use std::ops::Range; use rustc_abi::Size; use rustc_middle::mir; -use rustc_middle::ty::{Instance, PolyExistentialTraitRef, Ty}; +use rustc_middle::ty::{ExistentialTraitRef, Instance, Ty}; use rustc_span::{SourceFile, Span, Symbol}; use rustc_target::callconv::FnAbi; @@ -13,7 +13,7 @@ pub trait DebugInfoCodegenMethods<'tcx>: BackendTypes { fn create_vtable_debuginfo( &self, ty: Ty<'tcx>, - trait_ref: Option<PolyExistentialTraitRef<'tcx>>, + trait_ref: Option<ExistentialTraitRef<'tcx>>, vtable: Self::Value, ); |
