Help for associated constant with same name (ignoring case) as associated function #93844
Labels
A-diagnostics
Area: Messages for errors, warnings, and lints
E-easy
Call for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
Given the following code:
playground
The current output is:
Ideally the output of both errors should mention that the
MyS::MAX
ori32::MAX
constants exists if the type of the constant would solve the type issues.or
The text was updated successfully, but these errors were encountered: