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 @@ -145,18 +145,6 @@ impl server::Span for RaSpanServer {
145145 // FIXME
146146 None
147147 }
148- fn save_span ( & mut self , _span : Self :: Span ) -> usize {
149- // FIXME, quote is incompatible with third-party tools
150- // This is called by the quote proc-macro which is expanded when the proc-macro is compiled
151- // As such, r-a will never observe this
152- 0
153- }
154- fn recover_proc_macro_span ( & mut self , _id : usize ) -> Self :: Span {
155- // FIXME, quote is incompatible with third-party tools
156- // This is called by the expansion of quote!, r-a will observe this, but we don't have
157- // access to the spans that were encoded
158- self . call_site
159- }
160148 /// Recent feature, not yet in the proc_macro
161149 ///
162150 /// See PR:
Original file line number Diff line number Diff line change @@ -117,12 +117,6 @@ impl server::Span for TokenIdServer {
117117 fn local_file ( & mut self , _span : Self :: Span ) -> Option < String > {
118118 None
119119 }
120- fn save_span ( & mut self , _span : Self :: Span ) -> usize {
121- 0
122- }
123- fn recover_proc_macro_span ( & mut self , _id : usize ) -> Self :: Span {
124- self . call_site
125- }
126120 /// Recent feature, not yet in the proc_macro
127121 ///
128122 /// See PR:
You can’t perform that action at this time.
0 commit comments