@@ -11,12 +11,12 @@ use syntax::{AstPtr, ast};
1111use triomphe:: Arc ;
1212
1313use 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 ,
2020 attr:: { Attrs , AttrsWithOwner } ,
2121 expr_store:: {
2222 Body , BodySourceMap , ExpressionStore , ExpressionStoreSourceMap , scope:: ExprScopes ,
@@ -90,7 +90,10 @@ pub trait InternDatabase: RootQueryDb {
9090
9191 #[ salsa:: interned]
9292 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 ;
9497}
9598
9699#[ query_group:: query_group]
0 commit comments