{"ast_node_type":"function","tokens":[{"end":65,"kind":"keyword","start":0,"text":"fn"}]}
fn is_self_type(path: &[Segment], namespace: Namespace) -> bool {
    namespace == TypeNS && path.len() == 1 && path[0].ident.name == kw::SelfUpper