Skip to content

Commit be346a0

Browse files
committed
Add Span::{line, column}
1 parent 306398b commit be346a0

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

Diff for: crates/proc-macro-srv/src/server.rs

+10
Original file line numberDiff line numberDiff line change
@@ -329,6 +329,16 @@ impl server::Span for RustAnalyzer {
329329
fn start(&mut self, _self_: Self::Span) -> Self::Span {
330330
tt::TokenId::unspecified()
331331
}
332+
333+
fn line(&mut self, _span: Self::Span) -> usize {
334+
// FIXME handle line
335+
0
336+
}
337+
338+
fn column(&mut self, _span: Self::Span) -> usize {
339+
// FIXME handle column
340+
0
341+
}
332342
}
333343

334344
impl server::Symbol for RustAnalyzer {

0 commit comments

Comments
 (0)