@@ -8,12 +8,12 @@ use la_arena::ArenaMap;
88use triomphe:: Arc ;
99
1010use crate :: {
11- AssocItemId , AttrDefId , ConstId , ConstLoc , DefWithBodyId , EnumId , EnumLoc , EnumVariantId ,
12- EnumVariantLoc , ExternBlockId , ExternBlockLoc , ExternCrateId , ExternCrateLoc , FunctionId ,
13- FunctionLoc , GenericDefId , ImplId , ImplLoc , LocalFieldId , Macro2Id , Macro2Loc , MacroExpander ,
14- MacroId , MacroRulesId , MacroRulesLoc , MacroRulesLocFlags , ProcMacroId , ProcMacroLoc , StaticId ,
15- StaticLoc , StructId , StructLoc , TraitId , TraitLoc , TypeAliasId , TypeAliasLoc , UnionId ,
16- UnionLoc , UseId , UseLoc , VariantId ,
11+ AssocItemId , AttrDefId , BlockId , BlockLoc , ConstId , ConstLoc , DefWithBodyId , EnumId , EnumLoc ,
12+ EnumVariantId , EnumVariantLoc , ExternBlockId , ExternBlockLoc , ExternCrateId , ExternCrateLoc ,
13+ FunctionId , FunctionLoc , GenericDefId , ImplId , ImplLoc , LocalFieldId , Macro2Id , Macro2Loc ,
14+ MacroExpander , MacroId , MacroRulesId , MacroRulesLoc , MacroRulesLocFlags , ProcMacroId ,
15+ ProcMacroLoc , StaticId , StaticLoc , StructId , StructLoc , TraitId , TraitLoc , TypeAliasId ,
16+ TypeAliasLoc , UnionId , UnionLoc , UseId , UseLoc , VariantId ,
1717 attrs:: AttrFlags ,
1818 expr_store:: {
1919 Body , BodySourceMap , ExpressionStore , ExpressionStoreSourceMap , scope:: ExprScopes ,
@@ -82,6 +82,9 @@ pub trait InternDatabase: RootQueryDb {
8282 #[ salsa:: interned]
8383 fn intern_macro_rules ( & self , loc : MacroRulesLoc ) -> MacroRulesId ;
8484 // endregion: items
85+
86+ #[ salsa:: interned]
87+ fn intern_block ( & self , loc : BlockLoc ) -> BlockId ;
8588}
8689
8790#[ query_group:: query_group]
0 commit comments