Skip to content

Const generic parameters have incorrect hygiene #58307

Closed
@varkor

Description

@varkor

Const generic parameters are treated as hygienic by macro_rule because it uses "let variable hygiene" rather than "item hygiene".

See #57523 (comment) and #58191 (comment).

cc @petrochenkov

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-const-genericsArea: const generics (parameters and arguments)C-bugCategory: This is a bug.T-compilerRelevant to the compiler team, which will review and decide on the PR/issue.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions