diff options
| author | Michael Goulet <michael@errs.io> | 2022-05-22 12:57:46 -0700 |
|---|---|---|
| committer | Michael Goulet <michael@errs.io> | 2022-05-28 11:38:22 -0700 |
| commit | a056a953f00d7b78d12dc192b34c47cca6fa7b6b (patch) | |
| tree | cec1788af1bb7d4e9e09b02227acd4d8479f94a1 /compiler/rustc_codegen_llvm/src | |
| parent | a7015fe8169ebfcd6707f34bf190cb4c4ae302f7 (diff) | |
| download | rust-a056a953f00d7b78d12dc192b34c47cca6fa7b6b.tar.gz rust-a056a953f00d7b78d12dc192b34c47cca6fa7b6b.zip | |
Initial fixes on top of type interner commit
Diffstat (limited to 'compiler/rustc_codegen_llvm/src')
| -rw-r--r-- | compiler/rustc_codegen_llvm/src/debuginfo/metadata.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/compiler/rustc_codegen_llvm/src/debuginfo/metadata.rs b/compiler/rustc_codegen_llvm/src/debuginfo/metadata.rs index 97d3acb34ce..bbbd1e94514 100644 --- a/compiler/rustc_codegen_llvm/src/debuginfo/metadata.rs +++ b/compiler/rustc_codegen_llvm/src/debuginfo/metadata.rs @@ -33,7 +33,7 @@ use rustc_middle::mir::{self, GeneratorLayout}; use rustc_middle::ty::layout::LayoutOf; use rustc_middle::ty::layout::TyAndLayout; use rustc_middle::ty::subst::GenericArgKind; -use rustc_middle::ty::{self, AdtKind, Instance, ParamEnv, Ty, TyCtxt, COMMON_VTABLE_ENTRIES}; +use rustc_middle::ty::{self, common_vtable_entries, AdtKind, Instance, ParamEnv, Ty, TyCtxt}; use rustc_session::config::{self, DebugInfo}; use rustc_span::symbol::Symbol; use rustc_span::FileName; @@ -1392,7 +1392,7 @@ fn build_vtable_type_di_node<'ll, 'tcx>( tcx.vtable_entries(trait_ref) } else { - COMMON_VTABLE_ENTRIES + common_vtable_entries() }; // All function pointers are described as opaque pointers. This could be improved in the future |
