Wrong error message when calling static method using dot notation #30391
Labels
A-diagnostics
Area: Messages for errors, warnings, and lints
C-enhancement
Category: An issue proposing an enhancement or a PR with one.
Playpen. For some reasons I wasn't able to get this error message when struct is in the same crate.
Here's the error message I get when struct is in the same crate
I think it should be raised in the case with crate too.
The text was updated successfully, but these errors were encountered: