Skip to content

Prevent emission of (potentially colliding) type aliases in root module for inner types #16

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

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

jbg
Copy link

@jbg jbg commented Apr 30, 2025

@jbg jbg force-pushed the jbg/issue-2056-adetaylor branch from a38b830 to 71f132c Compare April 30, 2025 12:46
 * Emit aliases in the nearest ancestor module if the parent is not a
   module, rather than in the root module
 * If an alias would refer to itself, don't emit it (this is really a
   workaround for the fact that names are sometimes not unique enough,
   e.g. the header in rust-lang#2056 produces two items called f_iterator)
@jbg jbg force-pushed the jbg/issue-2056-adetaylor branch from 71f132c to fc01611 Compare April 30, 2025 12:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant