mirror of
https://github.com/rust-lang/rust.git
synced 2026-03-19 12:30:36 +00:00
format panic message only once Formatting the panic message multiple times can cause problems for some real-world crates, so here's a test to ensure that we don't do that. This was regressed in https://github.com/rust-lang/rust/pull/109507 and reverted in https://github.com/rust-lang/rust/pull/110782. fixes https://github.com/rust-lang/rust/issues/110717 fixes https://github.com/rust-itertools/itertools/issues/694