Skip to content

Commit 05975a4

Browse files
committed
auto merge of #12849 : nick29581/rust/doubles, r=alexcrichton
2 parents 50fb2a4 + 0d80de0 commit 05975a4

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/libsyntax/parse/parser.rs

+1
Original file line numberDiff line numberDiff line change
@@ -770,6 +770,7 @@ impl Parser {
770770
next: token::Token,
771771
lo: BytePos,
772772
hi: BytePos) {
773+
self.last_span = mk_sp(self.span.lo, lo);
773774
self.token = next;
774775
self.span = mk_sp(lo, hi);
775776
}

0 commit comments

Comments
 (0)