]> git.lizzy.rs Git - rust.git/blobdiff - src/librustc_codegen_ssa/traits/debuginfo.rs
Introduce FuncId backend type
[rust.git] / src / librustc_codegen_ssa / traits / debuginfo.rs
index 9c16b864ef21dce3b48d1c017b16cb8b885848ac..71594240a9eafeeef8d222b897cc685ec5e73880 100644 (file)
@@ -3,7 +3,7 @@
 use rustc::hir::def_id::CrateNum;
 use rustc::mir;
 use rustc::ty::{self, Ty, Instance};
-use rustc_data_structures::indexed_vec::IndexVec;
+use rustc_index::vec::IndexVec;
 use syntax::ast::Name;
 use syntax_pos::{SourceFile, Span};
 
@@ -20,7 +20,7 @@ fn create_function_debug_context(
         &self,
         instance: Instance<'tcx>,
         sig: ty::FnSig<'tcx>,
-        llfn: Self::Value,
+        llfn: Self::FuncId,
         mir: &mir::Body<'_>,
     ) -> FunctionDebugContext<Self::DIScope>;