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.rs | 2 ++ 1 file changed, 2 insertions(+) (limited to 'crates/hir_def/src/body.rs') diff --git a/crates/hir_def/src/body.rs b/crates/hir_def/src/body.rs index d0c84ab0b..b9ecf22fa 100644 --- a/crates/hir_def/src/body.rs +++ b/crates/hir_def/src/body.rs @@ -17,6 +17,7 @@ use hir_expand::{ HirFileId, InFile, MacroDefId, }; use la_arena::{Arena, ArenaMap}; +use profile::Count; use rustc_hash::FxHashMap; use syntax::{ast, AstNode, AstPtr}; use test_utils::mark; @@ -237,6 +238,7 @@ pub struct Body { /// The `ExprId` of the actual body expression. pub body_expr: ExprId, pub item_scope: ItemScope, + _c: Count, } pub type ExprPtr = AstPtr; -- cgit v1.2.3