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

coverage: Replace impossible coverage::Error with assertions #117421

Merged
merged 2 commits into from
Oct 31, 2023

Commits on Oct 31, 2023

  1. coverage: Promote some debug-only checks to always run

    These checks should be cheap, so there's little reason for them to be
    debug-only.
    Zalathar committed Oct 31, 2023
    Configuration menu
    Copy the full SHA
    8ef67d0 View commit details
    Browse the repository at this point in the history
  2. coverage: Replace impossible coverage::Error with assertions

    Historically, these errors existed so that the coverage debug code could dump
    additional information before reporting a compiler bug. That debug code was
    removed by rust-lang#115962, so we can now simplify these methods by making them panic
    when they detect a bug.
    Zalathar committed Oct 31, 2023
    Configuration menu
    Copy the full SHA
    6d956a2 View commit details
    Browse the repository at this point in the history