@@ -11,12 +11,12 @@ use syntax::{AstPtr, ast};
11
11
use triomphe:: Arc ;
12
12
13
13
use crate :: {
14
- AssocItemId , AttrDefId , ConstId , ConstLoc , DefWithBodyId , EnumId , EnumLoc , EnumVariantId ,
15
- EnumVariantLoc , ExternBlockId , ExternBlockLoc , ExternCrateId , ExternCrateLoc , FunctionId ,
16
- FunctionLoc , GenericDefId , ImplId , ImplLoc , LocalFieldId , Macro2Id , Macro2Loc , MacroExpander ,
17
- MacroId , MacroRulesId , MacroRulesLoc , MacroRulesLocFlags , ProcMacroId , ProcMacroLoc , StaticId ,
18
- StaticLoc , StructId , StructLoc , TraitAliasId , TraitAliasLoc , TraitId , TraitLoc , TypeAliasId ,
19
- TypeAliasLoc , UnionId , UnionLoc , UseId , UseLoc , VariantId ,
14
+ AssocItemId , AttrDefId , BlockId , BlockLoc , ConstId , ConstLoc , DefWithBodyId , EnumId , EnumLoc ,
15
+ EnumVariantId , EnumVariantLoc , ExternBlockId , ExternBlockLoc , ExternCrateId , ExternCrateLoc ,
16
+ FunctionId , FunctionLoc , GenericDefId , ImplId , ImplLoc , LocalFieldId , Macro2Id , Macro2Loc ,
17
+ MacroExpander , MacroId , MacroRulesId , MacroRulesLoc , MacroRulesLocFlags , ProcMacroId ,
18
+ ProcMacroLoc , StaticId , StaticLoc , StructId , StructLoc , TraitAliasId , TraitAliasLoc , TraitId ,
19
+ TraitLoc , TypeAliasId , TypeAliasLoc , UnionId , UnionLoc , UseId , UseLoc , VariantId ,
20
20
attr:: { Attrs , AttrsWithOwner } ,
21
21
expr_store:: {
22
22
Body , BodySourceMap , ExpressionStore , ExpressionStoreSourceMap , scope:: ExprScopes ,
@@ -90,7 +90,10 @@ pub trait InternDatabase: RootQueryDb {
90
90
91
91
#[ salsa:: interned]
92
92
fn intern_macro_rules ( & self , loc : MacroRulesLoc ) -> MacroRulesId ;
93
- // // endregion: items
93
+ // endregion: items
94
+
95
+ #[ salsa:: interned]
96
+ fn intern_block ( & self , loc : BlockLoc ) -> BlockId ;
94
97
}
95
98
96
99
#[ query_group:: query_group]
0 commit comments