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

rustc_lint: Enforce rustc::potential_query_instability lint #119251

Merged
merged 2 commits into from
Dec 31, 2023

Commits on Dec 31, 2023

  1. rustc_lint: Make LintLevelsProvider::current_specs() return `&FxInd…

    …exMap`
    
    So that lint iteration order becomes predicitable. Discovered with
    `rustc::potential_query_instability`.
    Enselic committed Dec 31, 2023
    Configuration menu
    Copy the full SHA
    231dbbc View commit details
    Browse the repository at this point in the history
  2. rustc_lint: Enforce rustc::potential_query_instability lint

    Stop allowing `rustc::potential_query_instability` on all of
    `rustc_lint` and instead allow it on a case-by-case basis if it is safe
    to do so. In this particular crate, all lints were safe to allow.
    Enselic committed Dec 31, 2023
    Configuration menu
    Copy the full SHA
    295d600 View commit details
    Browse the repository at this point in the history