{"ast_node_type":"other","tokens":[{"end":40,"kind":"keyword","start":0,"text":"path.and_then(|path|"}]}
    path.and_then(|path| path.segment())
fn path_ends_with(path: Option<ast::Path>, name_ref: &ast::NameRef) -> bool {
        .and_then(|segment| segment.name_ref())