{"ast_node_type":"other","tokens":[{"end":48,"kind":"keyword","start":0,"text":"if"}]}
    if tcx.generics_of(item_def_id).is_empty() {
    // Skip items with no generics - there's nothing to infer in them.
        return &[];