A type with static methods with the same name as a module generates incorrect error message #14564
Labels
A-diagnostics
Area: Messages for errors, warnings, and lints
E-needs-test
Call for participation: An issue has been fixed and does not reproduce, but no test has been added.
The "first definition" error should be pointing to the
mod Foo
.The text was updated successfully, but these errors were encountered: