Skip to content

Major change proposal: Support collecting all identifiers encountered during compilation #276

Closed
@crlf0710

Description

@crlf0710

TL;DR

To implement confusable_idents lint in RFC 2457, we need a mechanism to collect all unique identifiers occurred during compilation.

Links and Details

The requirement raised up from RFC 2457. Fundamentally, it means that each occurred identifier should be hashed with a very specific hash function called skeleton and storing the results. The lint is about checking whether hash collisions occurred during compilation. Whenever that happens, it raises warnings or errors.

Mentors or Reviewers

(TBD)

Metadata

Metadata

Assignees

No one assigned

    Labels

    major-changeA proposal to make a major change to rustc

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions