We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 90bf50c + 3f2fb17 commit be9710eCopy full SHA for be9710e
crates/proc-macro-srv/src/server_impl/rust_analyzer_span.rs
@@ -392,12 +392,12 @@ impl server::Span for RaSpanServer {
392
393
fn line(&mut self, _span: Self::Span) -> usize {
394
// FIXME requires db to resolve line index, THIS IS NOT INCREMENTAL
395
- 0
+ 1
396
}
397
398
fn column(&mut self, _span: Self::Span) -> usize {
399
400
401
402
403
crates/proc-macro-srv/src/server_impl/token_id.rs
@@ -291,11 +291,11 @@ impl server::Span for TokenIdServer {
291
292
293
294
295
296
297
298
299
300
301
0 commit comments