{"ast_node_type":"other","tokens":[{"end":38,"kind":"keyword","start":0,"text":".and_then(ast::Path::cast)"}]}
            .and_then(ast::Path::cast)
            .parent()
            .expect("segments are always nested in paths")