Skip to content

Allow class constructors to have typestate constraints #2813

Closed

Description

@catamorphism

...unless we remove constraints on functions in general. (Not sure whether we came to consensus on that or not.) See FIXME in typeck::collect::convert.

Activity

  1. nikomatsakis commented on Jul 16, 2012

    @nikomatsakis
    Contributor

    Not relevant as of commit 41a21f0, which removed current incarnation of typestate.

  2. added a commit that references this issue on Jun 4, 2024
    ab41be5
  3. added a commit that references this issue on Apr 8, 2026
  4. added a commit that references this issue on Aug 21, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions