Skip to content

Try disallowing keywords as identifiers #2275

Closed
@brson

Description

@brson

The distinction between bad words and contextual keywords is difficult to keep track of. Built-in types are no longer keywords, which allows us to create things like mod int. It may be fairly easy now to disallow keywords as identifiers.

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-grammarArea: The grammar of RustA-testsuiteArea: The testsuite used to check the correctness of rustcE-easyCall for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.E-needs-testCall for participation: An issue has been fixed and does not reproduce, but no test has been added.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions