Skip to content

treat self region specially #2479

Closed
Closed

Description

@nikomatsakis

If the self region appears within a method definition of a non-region-parameterized class, we should report an error. Right now it gets treated like any other unbound name. This is just confusing.

Activity

  1. added a commit that references this issue on Sep 22, 2022
  2. added a commit that references this issue on Jun 26, 2025
  3. added a commit that references this issue on Jul 4, 2025
  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

    A-lifetimesArea: Lifetimes / regions

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions