mirror of
https://github.com/rust-lang/rust.git
synced 2026-06-01 14:10:03 +03:00
72d4c1ed67
Teach `-Z treat-err-as-bug` to take a number of errors to emit `-Z treat-err-as-bug` will cause `rustc` to panic after the first error is reported, like previously. `-Z treat-err-as-bug=2` will cause `rustc` to panic after 2 errors have been reported. Fix #58983.