Skip to content

§14.11 caps tuple .await at "sizes 2..12": an arity ceiling written into the language #2963

Closed

Description

@ehartford

Errata #2955 item 7. §14.11: "Tuple .await supports tuple sizes 2..12. For dynamic or larger sets, use collection combinators." A fixed arity limit is Rust's shape (trait impls for tuples up to 12), not With's: a tuple of tasks has one meaning at any size and the compiler desugars it (§14.11 shows the 2-tuple desugar), so nothing forces a cap. Either the sentence goes or the spec states why 12. Eric's ruling.

Activity

  1. ehartford commented on Nov 2, 2026

    @ehartford
    ContributorAuthor

    D189 (delegated, spec v7.35, #2970): the sentence is gone; Sema's 2..12 check goes with the implementation.

  2. ehartford commented on Nov 2, 2026

    @ehartford
    ContributorAuthor

    Done in #2971: no tuple-await arity limit (D189); the two Sema checks stop only below 2 and the fixture pinning 12 is retired.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions