-
-
Notifications
You must be signed in to change notification settings - Fork 14.8k
E0109 is out of date #116876
Copy link
Copy link
Open
Labels
A-docsArea: Documentation for any part of the project, including the compiler, standard library, and toolsArea: Documentation for any part of the project, including the compiler, standard library, and toolsA-error-codesArea: Explanation of an error code (--explain)Area: Explanation of an error code (--explain)C-bugCategory: This is a bug.Category: This is a bug.T-compilerRelevant to the compiler team, which will review and decide on the PR/issue.Relevant to the compiler team, which will review and decide on the PR/issue.
Metadata
Metadata
Assignees
Labels
A-docsArea: Documentation for any part of the project, including the compiler, standard library, and toolsArea: Documentation for any part of the project, including the compiler, standard library, and toolsA-error-codesArea: Explanation of an error code (--explain)Area: Explanation of an error code (--explain)C-bugCategory: This is a bug.Category: This is a bug.T-compilerRelevant to the compiler team, which will review and decide on the PR/issue.Relevant to the compiler team, which will review and decide on the PR/issue.
Type
Fields
Give feedbackNo fields configured for issues without a type.
Code
Current output
Desired output
Rationale and extra context
Generic arguments can go after the
enumnow. Moreover, for type aliases ofenums, generic arguments must go after theenumand not after the variant.See this stabilization report for details. In brief,
Option::<T>::Nonehas worked since Rust 1.33Alias::<T>::Nonehas worked since Rust 1.37, butAlias::None::<T>doesn't work so far (Rust 1.73)Other cases
No response
Anything else?
@rustbot labels +A-error-codes