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

Handle stashing of delayed bugs #121819

Merged
merged 2 commits into from
Mar 1, 2024
Merged

Handle stashing of delayed bugs #121819

merged 2 commits into from
Mar 1, 2024

Commits on Feb 29, 2024

  1. Remove unnecessary Level:: qualifiers.

    We have `use Level::*;` in this file.
    nnethercote committed Feb 29, 2024
    Configuration menu
    Copy the full SHA
    721c741 View commit details
    Browse the repository at this point in the history
  2. Handle stashing of delayed bugs.

    By just emitting them immediately, because it does happen in practice,
    when errors are downgraded to delayed bugs.
    
    We already had one case in `lint.rs` where we handled this at the
    callsite. This commit changes things so it's handled within
    `stash_diagnostic` instead, because rust-lang#121812 identified a second case,
    and it's possible there are more.
    
    Fixes rust-lang#121812.
    nnethercote committed Feb 29, 2024
    Configuration menu
    Copy the full SHA
    44f0043 View commit details
    Browse the repository at this point in the history