Skip to content

Error message for mistyped enum variant isn't helpful #49192

Closed
@sophiajt

Description

@sophiajt

Where we would normally put "^^^ did you mean Up" under mistyped names, I noticed that we don't do that for enum variants.

Here's an example I just saw:

image

Metadata

Metadata

Labels

A-diagnosticsArea: Messages for errors, warnings, and lintsC-enhancementCategory: An issue proposing an enhancement or a PR with one.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions