unstable_name_collisions lint gives wrong message and suggestion for associated constants. #81663
Labels
A-diagnostics
Area: Messages for errors, warnings, and lints
D-confusing
Diagnostics: Confusing error or lint that should be reworked.
D-incorrect
Diagnostics: A diagnostic that is giving misleading or incorrect information.
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
The
unstable_name_collisions
lint calls an associated constant a 'method', and suggestsTrait::CONST(...)
instead of<... as Trait>::CONST
.Example:
The text was updated successfully, but these errors were encountered: