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: Some early linting refactorings #91526

Merged
merged 5 commits into from
Jan 24, 2022
Merged

Commits on Jan 23, 2022

  1. rustc_lint: Remove some redundant fields from EarlyContext

    Use consistent function parameter order for early context construction and early linting
    Rename some functions to make it clear that they do not necessarily work on the whole crate
    petrochenkov committed Jan 23, 2022
    Configuration menu
    Copy the full SHA
    452aa81 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    51b2338 View commit details
    Browse the repository at this point in the history
  3. Update clippy

    petrochenkov committed Jan 23, 2022
    Configuration menu
    Copy the full SHA
    9c70b6d View commit details
    Browse the repository at this point in the history
  4. rustc_lint: Stop creating a fake ast::Crate for running early lints

    Add a trait generalizing over the crate root and freshly loaded modules instead
    This also makes node IDs used for pre-expansion linting more precise
    petrochenkov committed Jan 23, 2022
    Configuration menu
    Copy the full SHA
    05cd755 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    67cccaf View commit details
    Browse the repository at this point in the history