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 c511d36 commit 54927acCopy full SHA for 54927ac
src/libsyntax/errors/emitter.rs
@@ -518,7 +518,7 @@ impl EmitterWriter {
518
};
519
let lo = self.cm.lookup_char_pos(sp.lo);
520
let hi = self.cm.lookup_char_pos(sp.hi);
521
- let elide_sp = (hi.line - lo.line) > MAX_SP_LINES;
+ let elide_sp = (hi.line - lo.line) >= MAX_SP_LINES;
522
523
let line_num = line.line_index + 1;
524
if !(lo.line <= line_num && hi.line >= line_num) {
0 commit comments