about summary refs log tree commit diff
path: root/src/test/run-pass/thinlto
diff options
context:
space:
mode:
authorCorey Farwell <coreyf@rwell.org>2017-03-02 14:53:44 -0500
committerGitHub <noreply@github.com>2017-03-02 14:53:44 -0500
commit0536fd6396133189fb4a41377d3972cd312078a0 (patch)
tree7d4aa4ac6b26a96ee2817015ea498d5253dc84b1 /src/test/run-pass/thinlto
parentaef07cd991d9b014e74684416ac032f6531cb93c (diff)
parentf2017f4561852bf65c39fc498cf035a5f385a065 (diff)
downloadrust-0536fd6396133189fb4a41377d3972cd312078a0.tar.gz
rust-0536fd6396133189fb4a41377d3972cd312078a0.zip
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
Diffstat (limited to 'src/test/run-pass/thinlto')
0 files changed, 0 insertions, 0 deletions