mirror of
https://github.com/rust-lang/rust.git
synced 2026-04-27 18:57:42 +03:00
069cf9dfc9
Fix the panic in write_message() which expects messages to contain no embedded newlines. We still want a trailing newline at the end of the file though, so write it in different manner. Doctest runner no longer panics, but the output is kinda broken when `compile_fail` doctests are present. This is because they are not mergeable.