E0109 is out of date #116876
Labels
A-docs
Area: documentation for any part of the project, including the compiler, standard library, and tools
A-error-codes
Area: Explanation of an error code (--explain)
C-bug
Category: This is a bug.
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
Code
Current output
Desired output
Rationale and extra context
Generic arguments can go after the
enum
now. Moreover, for type aliases ofenum
s, generic arguments must go after theenum
and not after the variant.See this stabilization report for details. In brief,
Option::<T>::None
has worked since Rust 1.33Alias::<T>::None
has 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
The text was updated successfully, but these errors were encountered: