{"ast_node_type":"variable","tokens":[{"end":80,"kind":"keyword","start":0,"text":"if"}]}
    if let Some(ast::PathSegmentKind::Type { trait_ref: Some(trait_ref), .. }) =
    let mut segments = path.segments();
        segments.clone().next().and_then(|it| it.kind())