File tree 2 files changed +0
-18
lines changed
src/tools/rust-analyzer/crates/proc-macro-srv/src/server_impl
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 @@ -292,12 +292,6 @@ impl server::Span for TokenIdServer {
292
292
fn source_file ( & mut self , _span : Self :: Span ) -> Self :: SourceFile {
293
293
SourceFile { }
294
294
}
295
- fn save_span ( & mut self , _span : Self :: Span ) -> usize {
296
- 0
297
- }
298
- fn recover_proc_macro_span ( & mut self , _id : usize ) -> Self :: Span {
299
- self . call_site
300
- }
301
295
/// Recent feature, not yet in the proc_macro
302
296
///
303
297
/// See PR:
You can’t perform that action at this time.
0 commit comments