
Change the way that underline positions are calculated by delaying using the "visual" column position until the last possible moment, instead using the "file"/byte position in the file, and then calculating visual positioning as late as possible. This should make the underlines more resilient to non-1-width unicode chars. Unfortunately, as part of this change (which fixes some visual bugs) comes with the loss of some eager tab codepoint handling, but the output remains legible despite some minor regression on the "margin trimming" logic.
9 lines
267 B
Text
9 lines
267 B
Text
error[E0308]: mismatched types
|
|
--> $DIR/long-span.rs:7:15
|
|
|
|
|
LL | ... = [0, 0, 0...0];
|
|
| ^^^^^^^^...^^ expected `u8`, found `[{integer}; 1680]`
|
|
|
|
error: aborting due to 1 previous error
|
|
|
|
For more information about this error, try `rustc --explain E0308`.
|