Replace tabs in err messages before rendering
This is done in other call sites, but was missing in one place. Fixes #83638
This commit is contained in:
@@ -1258,7 +1258,7 @@ impl EmitterWriter {
|
||||
buffer.append(0, ": ", header_style);
|
||||
}
|
||||
for &(ref text, _) in msg.iter() {
|
||||
buffer.append(0, text, header_style);
|
||||
buffer.append(0, &replace_tabs(text), header_style);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user