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 @@ -265,18 +265,6 @@ impl server::Span for RaSpanServer {
265
265
fn source_file ( & mut self , span : Self :: Span ) -> Self :: SourceFile {
266
266
SourceFile { file_id : span. anchor . file_id . file_id ( ) }
267
267
}
268
- fn save_span ( & mut self , _span : Self :: Span ) -> usize {
269
- // FIXME, quote is incompatible with third-party tools
270
- // This is called by the quote proc-macro which is expanded when the proc-macro is compiled
271
- // As such, r-a will never observe this
272
- 0
273
- }
274
- fn recover_proc_macro_span ( & mut self , _id : usize ) -> Self :: Span {
275
- // FIXME, quote is incompatible with third-party tools
276
- // This is called by the expansion of quote!, r-a will observe this, but we don't have
277
- // access to the spans that were encoded
278
- self . call_site
279
- }
280
268
/// Recent feature, not yet in the proc_macro
281
269
///
282
270
/// See PR:
Original file line number Diff line number Diff line change @@ -242,12 +242,6 @@ impl server::Span for TokenIdServer {
242
242
fn source_file ( & mut self , _span : Self :: Span ) -> Self :: SourceFile {
243
243
SourceFile { }
244
244
}
245
- fn save_span ( & mut self , _span : Self :: Span ) -> usize {
246
- 0
247
- }
248
- fn recover_proc_macro_span ( & mut self , _id : usize ) -> Self :: Span {
249
- self . call_site
250
- }
251
245
/// Recent feature, not yet in the proc_macro
252
246
///
253
247
/// See PR:
You can’t perform that action at this time.
0 commit comments