{"ast_node_type":"other","tokens":[{"end":95,"kind":"keyword","start":0,"text":".is_some_and(|trait_def_id|"}]}
        .is_some_and(|trait_def_id| !tcx.effective_visibilities(()).is_reachable(trait_def_id))
        .as_local()
        // If a type in the trait ref is private, then there's also no reason to do this check.