Commit eea5f8a
authored
Rollup merge of rust-lang#110721 - lukas-code:panic-fmt, r=Amanieu
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 rust-lang#109507 and reverted in rust-lang#110782.
fixes rust-lang#110717
fixes rust-itertools/itertools#6942 files changed
+24
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
0 commit comments