about summary refs log tree commit diff
path: root/src/test/run-pass/thinlto
diff options
context:
space:
mode:
authorSimon Sapin <simon.sapin@exyr.org>2017-02-26 19:42:11 +0100
committerSimon Sapin <simon.sapin@exyr.org>2017-03-01 23:47:59 +0100
commitf2017f4561852bf65c39fc498cf035a5f385a065 (patch)
tree41b700ec62f2195ddeabc08b9d717131e8377aeb /src/test/run-pass/thinlto
parent44e9e0a6cf2188c404b9420d49de05fa29f3ea19 (diff)
downloadrust-f2017f4561852bf65c39fc498cf035a5f385a065.tar.gz
rust-f2017f4561852bf65c39fc498cf035a5f385a065.zip
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