mirror of
https://github.com/rust-lang/rust.git
synced 2025-05-03 21:47:36 +00:00

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.
12 lines
248 B
Plaintext
12 lines
248 B
Plaintext
error[E0765]: unterminated double quote string
|
|
--> $DIR/issue-44078.rs:2:8
|
|
|
|
|
LL | "😊"";
|
|
| _________^
|
|
LL | | }
|
|
| |__^
|
|
|
|
error: aborting due to 1 previous error
|
|
|
|
For more information about this error, try `rustc --explain E0765`.
|