When compiletest encounters "not found errors", its output now looks like this:
--- not found errors (from test file) ---
ERRORline 11: it is undefined behavior to use this value
NOTEline 11: reference to mutable memory
---
That looks glitched out, with the lack of a space before "line". I think the line number should probably come first anyway, before the diagnostic kind.
I think this is a regression, this used to look just fine.
The formatting seems to happen here:
|
format!("{: <10}line {: >3}: {}", self.kind, self.line_num_str(), self.msg.cyan()) |
Cc
@petrochenkov
When compiletest encounters "not found errors", its output now looks like this:
That looks glitched out, with the lack of a space before "line". I think the line number should probably come first anyway, before the diagnostic kind.
I think this is a regression, this used to look just fine.
The formatting seems to happen here:
rust/src/tools/compiletest/src/errors.rs
Line 80 in 56d6b4e
Cc @petrochenkov