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

Treat unstable lints as unknown #94274

Merged
merged 5 commits into from
Mar 11, 2022
Merged

Commits on Mar 8, 2022

  1. Treat unstable lints as unknown

    This change causes unstable lints to be ignored if the `unknown_lints`
    lint is allowed. To achieve this, it also changes lints to apply as soon
    as they are processed. Previously, lints in the same set were processed
    as a batch and then all simultaneously applied.
    
    Implementation of rust-lang/compiler-team#469
    David Koloski committed Mar 8, 2022
    Configuration menu
    Copy the full SHA
    8852752 View commit details
    Browse the repository at this point in the history
  2. Switch the primary diagnostic to unknown_lints

    This also affects the `non_exhaustive_omitted_patterns` and
    `must_not_suspend` lints as they are not stable. This also changes the
    diagnostic level to pull from `unknown_lints` instead of always being
    allow or deny.
    David Koloski committed Mar 8, 2022
    Configuration menu
    Copy the full SHA
    2677eca View commit details
    Browse the repository at this point in the history
  3. Fill out documentation for new lint

    David Koloski committed Mar 8, 2022
    Configuration menu
    Copy the full SHA
    1593ce8 View commit details
    Browse the repository at this point in the history
  4. Fix docs, fix incorrect lint source in note

    David Koloski committed Mar 8, 2022
    Configuration menu
    Copy the full SHA
    fa10d90 View commit details
    Browse the repository at this point in the history
  5. Update for changes to other lints

    David Koloski committed Mar 8, 2022
    Configuration menu
    Copy the full SHA
    1c31a95 View commit details
    Browse the repository at this point in the history