{"ast_node_type":"variable","tokens":[{"end":88,"kind":"keyword","start":0,"text":"if"}]}
        if let (ty::FnPtr(..), ty::Closure(def_id, _)) = (expected.kind(), found.kind())
    ) -> bool {
            && let Some(upvars) = self.tcx.upvars_mentioned(*def_id)