You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Our name resolution rules are already impossible to understand, and this just makes things worse, especially with the opaque crate-relative-imports rule. This change would make a module named foo::foo illegal.
The text was updated successfully, but these errors were encountered:
This seems like the wrong solution for a real problem to me. If our name resolution rules are difficult to understand, then that means we need more thorough documentation. I was under the impression that this was all well documented now, but I could very well be wrong! What rules are you referring to when you say that they're impossible to understand? These are real bugs that we need to get fixed before 1.0.
A rule like this I feel is way too much of a special case for a common bug when as @bvssvni pointed out a warning would suffice just as well.
It's certainly a step in the same direction. I'm not sure it supplants this entirely, but now that we have a real RFC process I'm going to close this issue anyway.
Our name resolution rules are already impossible to understand, and this just makes things worse, especially with the opaque crate-relative-imports rule. This change would make a module named
foo::foo
illegal.The text was updated successfully, but these errors were encountered: