We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6d00258 commit 7d7322aCopy full SHA for 7d7322a
src/renderer/render.rs
@@ -622,11 +622,6 @@ fn render_snippet_annotations(
622
// Get the left-side margin to remove it
623
let mut whitespace_margin = usize::MAX;
624
for line_info in annotated_lines {
625
- // Whitespace can only be removed (aka considered leading)
626
- // if the lexer considers it whitespace.
627
- // non-rustc_lexer::is_whitespace() chars are reported as an
628
- // error (ex. no-break-spaces \u{a0}), and thus can't be considered
629
- // for removal during error reporting.
630
let leading_whitespace = line_info
631
.line
632
.chars()
0 commit comments