]> git.lizzy.rs Git - rust.git/blobdiff - src/librustc_trans/trans/inline.rs
Convert DefId to use DefIndex, which is an index into a list of
[rust.git] / src / librustc_trans / trans / inline.rs
index 67abca78c6eb35e18c38759c302e8561cfed0433..14b65bcb75504346dbaf4dd3254f2c9390c926e2 100644 (file)
@@ -44,7 +44,7 @@ fn instantiate_inline(ccx: &CrateContext, fn_id: DefId)
     let csearch_result =
         csearch::maybe_get_item_ast(
             ccx.tcx(), fn_id,
-            Box::new(|a,b,c,d| astencode::decode_inlined_item(a, b, c, d)));
+            Box::new(|a,b,c,d,e| astencode::decode_inlined_item(a, b, c, d,e)));
 
     let inline_id = match csearch_result {
         csearch::FoundAst::NotFound => {