{"ast_node_type":"variable","tokens":[{"end":83,"kind":"keyword","start":0,"text":"if"}]}
    if let Some(ident_pat) = name.syntax().parent().and_then(ast::IdentPat::cast) {
        let def = ctx.sema.to_def(&ident_pat)?;