-
Notifications
You must be signed in to change notification settings - Fork 12.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Glob imports ignore extern crate items of parent modules #22146
Comments
This seems to be fixed in nightly! |
It indeed seems to be fixed. |
Glob imports are famously wonky, so a regression test sounds like a great idea to me. Especially since this seems to have been "fixed by accident" unless I missed another issue. |
This was fixed in #31362, after which |
resolve: Add regression tests for fixed issues This adds regression tests for fixed issues in resolve (closes rust-lang#22146, closes rust-lang#24883, closes rust-lang#26930). r? @eddyb
It doesn't matter if the extern crate item is public or private, it's ignored in both cases.
Example:
This gives the error:
Note that this is not the same issue as #22145, as it doesn't matter whether the item is public or private.
The text was updated successfully, but these errors were encountered: