We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 15b867b commit e66d020Copy full SHA for e66d020
crates/proc-macro-srv/src/abis/abi_sysroot/ra_server.rs
@@ -20,7 +20,7 @@ use token_stream::TokenStreamBuilder;
20
mod symbol;
21
pub use symbol::*;
22
23
-use std::ops::Bound;
+use std::ops::{Bound, Range};
24
25
use crate::tt;
26
@@ -298,6 +298,10 @@ impl server::Span for RustAnalyzer {
298
// FIXME handle span
299
span
300
}
301
+ fn position(&mut self, _span: Self::Span) -> Range<u32> {
302
+ // FIXME handle span
303
+ Range { start: 0, end: 0 }
304
+ }
305
fn start(&mut self, _span: Self::Span) -> LineColumn {
306
307
LineColumn { line: 0, column: 0 }
0 commit comments