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 326ec80 commit e13e9a5Copy full SHA for e13e9a5
src/librustc_errors/emitter.rs
@@ -243,7 +243,7 @@ impl EmitterWriter {
243
end_col: hi.col_display,
244
is_primary: span_label.is_primary,
245
label: span_label.label.clone(),
246
- overlaps: false,
+ overlaps_exactly: false,
247
};
248
multiline_annotations.push((lo.file.clone(), ml.clone()));
249
AnnotationType::Multiline(ml)
@@ -277,7 +277,7 @@ impl EmitterWriter {
277
{
278
a.increase_depth();
279
} else if ann.same_span(a) && &ann != a {
280
- a.overlaps = true;
+ a.overlaps_exactly = true;
281
} else {
282
break;
283
}
@@ -290,7 +290,7 @@ impl EmitterWriter {
290
max_depth = ann.depth;
291
292
let mut end_ann = ann.as_end();
293
- if !ann.overlaps {
+ if !ann.overlaps_exactly {
294
// avoid output like
295
//
296
// | foo(
0 commit comments