-
Notifications
You must be signed in to change notification settings - Fork 13.4k
Const generic parameters have incorrect hygiene #58307
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Labels
A-const-generics
Area: const generics (parameters and arguments)
C-bug
Category: This is a bug.
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
Comments
cc #44580 |
16 tasks
#44580 (comment) looks like it could be related to this issue. |
Centril
added a commit
to Centril/rust
that referenced
this issue
Jul 29, 2019
…petrochenkov Make generic parameters always use modern hygiene * E0263 (lifetime parameter declared twice in the same scope) now compares modernized identifiers. * Const parameters are now resolved with modern hygiene. Closes rust-lang#58307 Closes rust-lang#60746 Closes rust-lang#61574 Closes rust-lang#62433
Centril
added a commit
to Centril/rust
that referenced
this issue
Jul 30, 2019
…petrochenkov Make generic parameters always use modern hygiene * E0263 (lifetime parameter declared twice in the same scope) now compares modernized identifiers. * Const parameters are now resolved with modern hygiene. Closes rust-lang#58307 Closes rust-lang#60746 Closes rust-lang#61574 Closes rust-lang#62433
Centril
added a commit
to Centril/rust
that referenced
this issue
Jul 30, 2019
…petrochenkov Make generic parameters always use modern hygiene * E0263 (lifetime parameter declared twice in the same scope) now compares modernized identifiers. * Const parameters are now resolved with modern hygiene. Closes rust-lang#58307 Closes rust-lang#60746 Closes rust-lang#61574 Closes rust-lang#62433
# for free
to join this conversation on GitHub.
Already have an account?
# to comment
Labels
A-const-generics
Area: const generics (parameters and arguments)
C-bug
Category: This is a bug.
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
Uh oh!
There was an error while loading. Please reload this page.
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
The text was updated successfully, but these errors were encountered: