fn has_used_like_attr(tcx: TyCtxt<'_>, def_id: LocalDefId) -> bool