mirror of
https://github.com/rust-lang/rust.git
synced 2025-10-21 04:17:35 +00:00

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 #115962, so we can now simplify these methods by making them panic when they detect a bug.