Make -Z treat-err-as-bug
accept a number of errors to skip
#58983
Labels
B-unstable
Blocker: Implemented in the nightly compiler and unstable.
C-feature-request
Category: A feature request, i.e: not implemented / a PR.
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
Allow
-Z treat-err-as-bug
to take a number, in order to make it easier to debug errors that can't be made to be emitted first. In my mind, you'd callrustc -Z treat-err-as-bug 2
on a file with three errors and the first two would be emitted, you'd get the backtrace for the second one, and the third one wouldn't be emitted.The text was updated successfully, but these errors were encountered: