pub(crate) fn where_clauses(
    cx: &DocContext<'_>,
    clauses: Vec<WherePredicate>
) -> ThinVec<WherePredicate>