Skip to content

Const generic parameters have incorrect hygiene #58307

Closed

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

Activity

  1. added
    T-compilerRelevant to the compiler team, which will review and decide on the PR/issue.
    C-bugCategory: This is a bug.
    on Feb 9, 2019
  2. jonas-schievink commented on Feb 9, 2019

    @jonas-schievink
    Contributor
  3. varkor commented on Mar 21, 2019

    @varkor
    ContributorAuthor

    #44580 (comment) looks like it could be related to this issue.

  4. added 3 commits that reference this issue on Jul 29, 2019
    16a733b
    cbce93c
    652f13d
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-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