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 cb82b79 commit c75da0eCopy full SHA for c75da0e
compiler/rustc_errors/src/emitter.rs
@@ -763,7 +763,7 @@ impl HumanEmitter {
763
let mut short_start = true;
764
for ann in &line.annotations {
765
if let AnnotationType::MultilineStart(depth) = ann.annotation_type {
766
- if source_string.chars().take(ann.start_col.display).all(|c| c.is_whitespace()) {
+ if source_string.chars().take(ann.start_col.file).all(|c| c.is_whitespace()) {
767
let uline = self.underline(ann.is_primary);
768
let chr = uline.multiline_whole_line;
769
annotations.push((depth, uline.style));
0 commit comments