Skip to content

Correctly handle path stability for 'use tree' items#99292

Merged
bors merged 1 commit intorust-lang:masterfrom
Aaron1011:stability-use-tree
Oct 15, 2022
Merged

Correctly handle path stability for 'use tree' items#99292
bors merged 1 commit intorust-lang:masterfrom
Aaron1011:stability-use-tree

Conversation

@Aaron1011
Copy link
Contributor

@Aaron1011 Aaron1011 commented Jul 15, 2022

PR #95956 started checking the stability of path segments.
However, this was not applied to 'use tree' items
(e.g. 'use some::path::{ItemOne, ItemTwo}') due to the way
that we desugar these items in HIR lowering.

This PR modifies 'use tree' lowering to preserve resolution
information, which is needed by stability checking.

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

Labels

merged-by-bors This PR was explicitly merged by bors. S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

9 participants