4c8175ca04
`set_string_truncated` renders the entire string while ignoring newlines, so if the diagnostic's message contains multiple lines it produces messages like 'first linesecond line'. To avoid these run-ons, this commit renders each line separately, inserting double spaces for disambiguation. |
||
---|---|---|
.. | ||
src | ||
tests | ||
.gitignore | ||
build.rs | ||
Cargo.toml |