Why do UI test stderr files have
LL for the line number in the gutter, but not for the line and column number shown after the filename?
error: invalid register `invalid`: unknown register --> $DIR/issue-72570.rs:9:18 | LL | asm!("", in("invalid") "".len()); | ^^^^^^^^^^^^^^^^^^^^^^
To avoid minor changes (like comments being added etc) to the source file from also impacting the expected output template much, maybe?
@Vadim Petrochenkov Is the reason for not anonymizing the line and column in
--> $DIR/file.rs:line:column so that one can catch bugs where the compiler prints the wrong line or column?
Not only bugs, but without line numbers
.stderr files become entirely unreadable.
It would be great to keep all line numbers for readability, but then we have the diff issues (which harm reviews as well).
It's an evil vs greater evil situation.