syntax_data: {"ast_node_type":"function","tokens":[{"end":24,"kind":"keyword","start":0,"text":"pub"}]}
source_snippet:     pub fn to_coroutine(
context_before:     /// When the kind and upvars are known, use the other helper functions.
context_after:         self,