pub fn offer_to_all_would_duplicate(
offer_to_all: &Offer,
specific_offer: &Offer,
target: &BorrowedName,
) -> Result<bool, Error>Expand description
Returns Ok(true) if desugaring the offer_to_all using name duplicates
specific_offer. Returns Ok(false) if not a duplicate.
Returns Err if there is a validation error.