File tree Expand file tree Collapse file tree 2 files changed +0
-18
lines changed
src/tools/rust-analyzer/crates/proc-macro-srv/src/server Expand file tree Collapse file tree 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 {
312312 // FIXME stub, requires db
313313 SourceFile { }
314314 }
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- }
327315 /// Recent feature, not yet in the proc_macro
328316 ///
329317 /// See PR:
Original file line number Diff line number Diff line change @@ -290,12 +290,6 @@ impl server::Span for TokenIdServer {
290290 fn source_file ( & mut self , _span : Self :: Span ) -> Self :: SourceFile {
291291 SourceFile { }
292292 }
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- }
299293 /// Recent feature, not yet in the proc_macro
300294 ///
301295 /// See PR:
You can’t perform that action at this time.
0 commit comments