Skip to content

Fix lost import with Crate granularity#5166

Closed
ldm0 wants to merge 1 commit intorust-lang:masterfrom
ldm0:fix_import_as_loss
Closed

Fix lost import with Crate granularity#5166
ldm0 wants to merge 1 commit intorust-lang:masterfrom
ldm0:fix_import_as_loss

Conversation

@ldm0
Copy link

@ldm0 ldm0 commented Jan 6, 2022

Currently use a::{c as cc, c}; will be formatted to use a::c as cc; when Crate granularity is set.

The regression was introduced in #4973

@ldm0 ldm0 changed the title Fix lost import on Crate granularity Fix lost import with Crate granularity Jan 6, 2022
@calebcartwright
Copy link
Member

Thank you for your interest and willingness to submit a PR! My apologies for the delay in review, but I think it'd be best to close this in favor of #5209 which I suspect will cover a broader suite of variants

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants