{"ast_node_type":"other","tokens":[{"end":36,"kind":"keyword","start":0,"text":")"}]}
) -> (Place<'_>, ty::UpvarCapture) {
    mut curr_mode: ty::UpvarCapture,
    let is_shared_ref = |ty: Ty<'_>| matches!(ty.kind(), ty::Ref(.., hir::Mutability::Not));