Skip to content

treat self region specially #2479

Closed
Closed
@nikomatsakis

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.

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