Fixed extra call to lo in end [skip ci]

This commit is contained in:
Michael van Straten 2023-03-10 23:48:17 +01:00
parent af24c376a2
commit 3a3ecbfae6

View File

@ -635,7 +635,7 @@ impl server::Span for Rustc<'_, '_> {
}
fn position(&mut self, span: Self::Span) -> Range<u32> {
Range { start: span.lo().0, end: span.lo().0 }
Range { start: span.lo().0, end: span.hi().0 }
}
fn start(&mut self, span: Self::Span) -> LineColumn {