{"ast_node_type":"other","tokens":[{"end":49,"kind":"keyword","start":0,"text":"hir::DefWithBody::Function(func)"}]}
        hir::DefWithBody::Function(func) => func,
    let fn_def = match local.parent(sema.db) {
        _ => bail!("Cannot rename local to self outside of function"),