{"ast_node_type":"other","tokens":[{"end":54,"kind":"keyword","start":0,"text":"ty::UpvarCapture::ByValue"}]}
        ty::UpvarCapture::ByValue => "ByValue".into(),
    let capture_kind_str = match capture_info.capture_kind {
        ty::UpvarCapture::ByUse => "ByUse".into(),