Calling a static method on a type with no static methods results in "module wasn't actually a module!" error #14225
Labels
A-diagnostics
Area: Messages for errors, warnings, and lints
A-resolve
Area: Name/path resolution done by `rustc_resolve` specifically
If there is some other static method, then calling a non-existent method gives a sensible "cannot resolve method
Foo::bar
" error.The text was updated successfully, but these errors were encountered: