Unnamed repository; edit this file 'description' to name the repository.
Diffstat (limited to 'crates/hir-expand/src/db.rs')
| -rw-r--r-- | crates/hir-expand/src/db.rs | 16 |
1 files changed, 2 insertions, 14 deletions
diff --git a/crates/hir-expand/src/db.rs b/crates/hir-expand/src/db.rs index 2edbd30dcf..d9e17cfb2d 100644 --- a/crates/hir-expand/src/db.rs +++ b/crates/hir-expand/src/db.rs @@ -1,18 +1,6 @@ //! Defines database & queries for macro expansion. -use base_db::{Crate, SourceDatabase}; -use syntax::ast; - -use crate::{AstId, declarative::DeclarativeMacroExpander}; +use base_db::SourceDatabase; #[query_group::query_group] -pub trait ExpandDatabase: SourceDatabase { - /// Fetches (and compiles) the expander of this decl macro. - #[salsa::invoke(DeclarativeMacroExpander::expander)] - #[salsa::transparent] - fn decl_macro_expander( - &self, - def_crate: Crate, - id: AstId<ast::Macro>, - ) -> &DeclarativeMacroExpander; -} +pub trait ExpandDatabase: SourceDatabase {} |