mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-29 20:46:07 +03:00
eea5f8a9c4
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