syntax_data: {"ast_node_type":"function","tokens":[{"end":42,"kind":"keyword","start":0,"text":"pub"}]}
source_snippet:     pub fn kind(self) -> ty::ClosureKind {
context_before:     /// If you have an inference context, use `infcx.closure_kind()`.
context_after:         self.kind_ty().to_opt_closure_kind().unwrap()