{"ast_node_type":"other","tokens":[{"end":70,"kind":"keyword","start":0,"text":"//"}]}
    // Skip items with no generics - there's nothing to infer in them.
pub(super) fn variances_of(tcx: TyCtxt<'_>, item_def_id: LocalDefId) -> &[ty::Variance] {
    if tcx.generics_of(item_def_id).is_empty() {