Weird errors with dyn Trait
s in enums
#117974
Labels
A-diagnostics
Area: Messages for errors, warnings, and lints
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
Code
Current output
Desired output
All four cases should probably be treated as the fourth one, i.e. compile without errors.
Rationale and extra context
No response
Other cases
No response
Anything else?
First found on URLO.
The text was updated successfully, but these errors were encountered: