Corey Farwell 0536fd6396 Rollup merge of #40117 - SimonSapin:to-err-is-for-the-formatter, r=alexcrichton
Panic on errors in `format!` or `<T: Display>::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
2017-03-02 14:53:44 -05:00
..
2017-02-28 22:15:12 +00:00
2017-02-28 17:12:56 +02:00
2017-02-28 17:12:56 +02:00
2017-02-27 11:18:11 +08:00
2017-03-01 13:12:07 +09:00