syntax_data: {"ast_node_type":"function","tokens":[{"end":46,"kind":"keyword","start":0,"text":"pub"}]}
source_snippet:     pub fn to_coroutine_given_kind_and_upvars(
context_before:     /// that the `ClosureKind` is actually supported by the coroutine-closure.
context_after:         self,