Remove LineColumn, Span::start, Span::end

This commit is contained in:
Jacob Pratt 2023-05-14 17:38:41 -04:00
parent a34ceade11
commit dc76991d2f
No known key found for this signature in database
GPG key ID: 6E2E55C5F9ABB247
4 changed files with 2 additions and 76 deletions

View file

@ -304,14 +304,6 @@ impl server::Span for RustAnalyzer {
// FIXME handle span
Range { start: 0, end: 0 }
}
fn start(&mut self, _span: Self::Span) -> LineColumn {
// FIXME handle span
LineColumn { line: 0, column: 0 }
}
fn end(&mut self, _span: Self::Span) -> LineColumn {
// FIXME handle span
LineColumn { line: 0, column: 0 }
}
fn join(&mut self, first: Self::Span, _second: Self::Span) -> Option<Self::Span> {
// Just return the first span again, because some macros will unwrap the result.
Some(first)