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

Move lint_store #117649

Merged
merged 4 commits into from
Nov 17, 2023
Merged

Move lint_store #117649

merged 4 commits into from
Nov 17, 2023

Commits on Nov 16, 2023

  1. Configuration menu
    Copy the full SHA
    5dfe47a View commit details
    Browse the repository at this point in the history
  2. Remove dead lint code.

    nnethercote committed Nov 16, 2023
    Configuration menu
    Copy the full SHA
    73c1fc5 View commit details
    Browse the repository at this point in the history
  3. Move lint_store from GlobalCtxt to Session.

    This was made possible by the removal of plugin support, which
    simplified lint store creation.
    
    This simplifies the places in rustc and rustdoc that call
    `describe_lints`, which are early on. The lint store is now built before
    those places, so they don't have to create their own lint store for
    temporary use, they can just use the main one.
    nnethercote committed Nov 16, 2023
    Configuration menu
    Copy the full SHA
    a3b4961 View commit details
    Browse the repository at this point in the history
  4. Remove Compiler::register_lints.

    Lint registration now happens early enough that we can run it from
    `Config`, before `Compiler` is created.
    nnethercote committed Nov 16, 2023
    Configuration menu
    Copy the full SHA
    dededd2 View commit details
    Browse the repository at this point in the history