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_impl 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 @@ -292,12 +292,6 @@ impl server::Span for TokenIdServer {
292292 fn source_file ( & mut self , _span : Self :: Span ) -> Self :: SourceFile {
293293 SourceFile { }
294294 }
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- }
301295 /// Recent feature, not yet in the proc_macro
302296 ///
303297 /// See PR:
You can’t perform that action at this time.
0 commit comments