{"ast_node_type":"other","tokens":[{"end":65,"kind":"keyword","start":0,"text":"hir::CaptureBy::Ref"}]}
            hir::CaptureBy::Ref | hir::CaptureBy::Use { .. } => {
            hir::CaptureBy::Value { .. } => ty, // For move closure the capture kind should be by value
                // For non move closure the capture kind is the max capture kind of all captures