From: Corey Farwell Date: Thu, 2 Mar 2017 19:53:44 +0000 (-0500) Subject: Rollup merge of #40117 - SimonSapin:to-err-is-for-the-formatter, r=alexcrichton X-Git-Url: https://git.lizzy.rs/?a=commitdiff_plain;h=0536fd6396133189fb4a41377d3972cd312078a0;p=rust.git Rollup merge of #40117 - SimonSapin:to-err-is-for-the-formatter, r=alexcrichton Panic on errors in `format!` or `::to_string` … instead of silently ignoring a result. `fmt::Write for String` never returns `Err`, so implementations of `Display` (or other traits of that family) never should either. Fixes #40103 --- 0536fd6396133189fb4a41377d3972cd312078a0