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
{{ message }}
Repository navigation
Wildcard imports from super omit non-public constants and statics. #37434
Activity
koute commentedon Oct 27, 2016
Actually, sorry, it seems that this isn't specific to constants; a wildcard doesn't import anything non-public.
Is this intended? I'd expect a
*to expand to everything that is importable from a given scope, not only what is public.petrochenkov commentedon Oct 27, 2016
The code will compile if you add
#![feature(item_like_imports)]to the crate root.After #37127 lands,
item_like_importswill become a default and the code will work without anyfeatures.koute commentedon Oct 27, 2016
@petrochenkov I see; thanks!
Sorry for the duplicate bug! I did try to search for duplicates, but it seems that my search-fu wasn't strong enough.
sanmai-NL commentedon Oct 30, 2016
@koute: you can still close it. 🙂