diff options
author | Dawer <[email protected]> | 2021-05-06 06:22:51 +0100 |
---|---|---|
committer | Dawer <[email protected]> | 2021-05-06 06:22:51 +0100 |
commit | 90a5dca0a2dbb858ee34eb7de06de8a1cad9e488 (patch) | |
tree | f3423365cc69b512da6f777fc6808a163f0e8da5 | |
parent | 0a156c80af8df24543323bdf47d75c5a339cfe48 (diff) |
Fix build
-rw-r--r-- | crates/hir_expand/src/db.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/hir_expand/src/db.rs b/crates/hir_expand/src/db.rs index 3e9abd8a1..d61f4b31a 100644 --- a/crates/hir_expand/src/db.rs +++ b/crates/hir_expand/src/db.rs | |||
@@ -283,7 +283,7 @@ fn macro_arg_text(db: &dyn AstDatabase, id: MacroCallId) -> Option<GreenNode> { | |||
283 | }; | 283 | }; |
284 | let loc = db.lookup_intern_macro(id); | 284 | let loc = db.lookup_intern_macro(id); |
285 | let arg = loc.kind.arg(db)?; | 285 | let arg = loc.kind.arg(db)?; |
286 | Some(arg.green()) | 286 | Some(arg.green().into()) |
287 | } | 287 | } |
288 | 288 | ||
289 | fn macro_def(db: &dyn AstDatabase, id: MacroDefId) -> Option<Arc<TokenExpander>> { | 289 | fn macro_def(db: &dyn AstDatabase, id: MacroDefId) -> Option<Arc<TokenExpander>> { |