Skip to content
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

Support grouped imports #124

Merged
merged 2 commits into from
Sep 29, 2020
Merged

Support grouped imports #124

merged 2 commits into from
Sep 29, 2020

Conversation

udoprog
Copy link
Collaborator

@udoprog udoprog commented Sep 28, 2020

CC: @dillonhicks - since you're touching these systems as well.

This adds support for specifying imports group, like so:

use std::{result, option, iter::range};

// ...

Note about macros:

Macros are currently only allowed in contexts, so wildcard imports for these are handled separately, while wildcard imports for units are deferred with the ExpandUnitWildcard task until after indexing. This should have not practical implications for now, but it's clear that the system has to be reworked once we introduce re-exports.

@udoprog udoprog added the enhancement New feature or request label Sep 28, 2020
@udoprog udoprog merged commit 5cd3985 into master Sep 29, 2020
@udoprog udoprog deleted the grouped-imports branch September 29, 2020 05:08
@udoprog udoprog added the changelog Issue has been added to the changelog label Oct 14, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
changelog Issue has been added to the changelog enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant