Option begone part 1

This commit is contained in:
Lukas Wirth 2023-04-16 19:20:42 +02:00
parent 0f4ffaa5af
commit 96a774261f
8 changed files with 94 additions and 105 deletions

View file

@ -257,8 +257,8 @@ impl HirFileId {
let arg_tt = loc.kind.arg(db)?;
let macro_def = db.macro_def(loc.def).ok()?;
let (parse, exp_map) = db.parse_macro_expansion(macro_file).value?;
let macro_arg = db.macro_arg(macro_file.macro_call_id)?;
let (parse, exp_map) = db.parse_macro_expansion(macro_file).value;
let macro_arg = db.macro_arg(macro_file.macro_call_id);
let def = loc.def.ast_id().left().and_then(|id| {
let def_tt = match id.to_node(db) {