From b8d50a7414389a237eeaa67e575a5374da698300 Mon Sep 17 00:00:00 2001 From: Aleksey Kladov Date: Wed, 27 Jan 2021 12:16:24 +0300 Subject: add more counts --- crates/hir_def/src/body/lower.rs | 2 ++ 1 file changed, 2 insertions(+) (limited to 'crates/hir_def/src/body') diff --git a/crates/hir_def/src/body/lower.rs b/crates/hir_def/src/body/lower.rs index 4ce5e5b72..209965fca 100644 --- a/crates/hir_def/src/body/lower.rs +++ b/crates/hir_def/src/body/lower.rs @@ -10,6 +10,7 @@ use hir_expand::{ 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(); -- cgit v1.2.3