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

Avoid nondeterminism in trimmed_def_paths #89408

Merged
merged 1 commit into from
Oct 2, 2021

Commits on Sep 30, 2021

  1. Avoid nondeterminism in trimmed_def_paths

    Previously this query depended on the global interning order of Symbols, which
    meant that irrelevant changes could influence the query and cause
    recompilations. This commit ensures that the return set is stable and will not
    be affected by the global order by deterministically (in lexicographic order)
    choosing a name to use if there are multiple names for a single DefId.
    Mark-Simulacrum committed Sep 30, 2021
    Configuration menu
    Copy the full SHA
    56fcf07 View commit details
    Browse the repository at this point in the history