{"ast_node_type":"other","tokens":[{"end":72,"kind":"keyword","start":0,"text":"name_ref.syntax().ancestors().any(|node|"}]}
    name_ref.syntax().ancestors().any(|node| match ast::Fn::cast(node) {
fn is_name_ref_in_test(sema: &Semantics<'_, RootDatabase>, name_ref: &ast::NameRef) -> bool {
        Some(it) => sema.to_def(&it).is_some_and(|func| func.is_test(sema.db)),