]> git.lizzy.rs Git - rust.git/blobdiff - crates/hir_def/src/body/lower.rs
add more counts
[rust.git] / crates / hir_def / src / body / lower.rs
index 4ce5e5b72c319b9db9d1f35c8a49f501ebfeec5c..209965fcaf74116de7d5e97e0246c8fdbc6ff20e 100644 (file)
@@ -10,6 +10,7 @@
     ExpandError, HirFileId, MacroDefId, MacroDefKind,
 };
 use la_arena::Arena;
+use profile::Count;
 use rustc_hash::FxHashMap;
 use syntax::{
     ast::{
@@ -77,6 +78,7 @@ pub(super) fn lower(
             params: Vec::new(),
             body_expr: dummy_expr_id(),
             item_scope: Default::default(),
+            _c: Count::new(),
         },
         item_trees: {
             let mut map = FxHashMap::default();