syntax_data: {"ast_node_type":"function","tokens":[{"end":63,"kind":"keyword","start":0,"text":"fn"}]}
source_snippet:     fn coroutine_is_gen(&mut self, self_ty: Ty<'tcx>) -> bool {
context_after:         matches!(*self_ty.kind(), ty::Coroutine(did, ..)