File tree 2 files changed +0
-18
lines changed
src/tools/rust-analyzer/crates/proc-macro-srv/src/server
2 files changed +0
-18
lines changed Original file line number Diff line number Diff line change @@ -312,18 +312,6 @@ impl server::Span for RaSpanServer {
312
312
// FIXME stub, requires db
313
313
SourceFile { }
314
314
}
315
- fn save_span ( & mut self , _span : Self :: Span ) -> usize {
316
- // FIXME, quote is incompatible with third-party tools
317
- // This is called by the quote proc-macro which is expanded when the proc-macro is compiled
318
- // As such, r-a will never observe this
319
- 0
320
- }
321
- fn recover_proc_macro_span ( & mut self , _id : usize ) -> Self :: Span {
322
- // FIXME, quote is incompatible with third-party tools
323
- // This is called by the expansion of quote!, r-a will observe this, but we don't have
324
- // access to the spans that were encoded
325
- self . call_site
326
- }
327
315
/// Recent feature, not yet in the proc_macro
328
316
///
329
317
/// See PR:
Original file line number Diff line number Diff line change @@ -290,12 +290,6 @@ impl server::Span for TokenIdServer {
290
290
fn source_file ( & mut self , _span : Self :: Span ) -> Self :: SourceFile {
291
291
SourceFile { }
292
292
}
293
- fn save_span ( & mut self , _span : Self :: Span ) -> usize {
294
- 0
295
- }
296
- fn recover_proc_macro_span ( & mut self , _id : usize ) -> Self :: Span {
297
- self . call_site
298
- }
299
293
/// Recent feature, not yet in the proc_macro
300
294
///
301
295
/// See PR:
You can’t perform that action at this time.
0 commit comments