{"ast_node_type":"other","tokens":[{"end":73,"kind":"keyword","start":0,"text":"if"}]}
    if impl_def.trait_().is_some() && impl_def.attrs().next().is_none() {
    // ideally the validation would run only on the fully expanded code, then this wouldn't be necessary.
        errors.push(SyntaxError::new("Unnecessary visibility qualifier", vis.syntax.text_range()));