about summary refs log tree commit diff
path: root/src/libstd/sys/unix/stack_overflow.rs
diff options
context:
space:
mode:
authorUlrik Sverdrup <bluss@users.noreply.github.com>2016-02-26 02:53:47 +0100
committerUlrik Sverdrup <bluss@users.noreply.github.com>2016-02-26 02:59:25 +0100
commit6cfafad3c56736a62e1043a8d01f7f2c74384008 (patch)
tree51287410608ae9cf04ff019de6c4067d60c4b0a3 /src/libstd/sys/unix/stack_overflow.rs
parent8842e28be8857e8e37591e2dec469d6720c278cb (diff)
downloadrust-6cfafad3c56736a62e1043a8d01f7f2c74384008.tar.gz
rust-6cfafad3c56736a62e1043a8d01f7f2c74384008.zip
Make sure formatter errors are emitted by the default Write::write_fmt
Previously, if an error was returned from the formatter that did not
originate in an underlying writer error, Write::write_fmt would return
successfully even if the formatting did not complete (was interrupted by
an `fmt::Error` return).

Now we choose to emit an io::Error with kind Other for formatter errors.

Since this may reveal error returns from `write!()` and similar that
previously passed silently, it's a kind of a [breaking-change].
Diffstat (limited to 'src/libstd/sys/unix/stack_overflow.rs')
0 files changed, 0 insertions, 0 deletions