{"ast_node_type":"other","tokens":[{"end":100,"kind":"keyword","start":0,"text":"if"}]}
            if tcx.def_key(self.instance.def_id()).disambiguated_data.data == DefPathData::Closure {
        ty::tls::with(|tcx| {
                write!(f, "inside closure")