File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
crates/proc-macro-srv/src/server Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -72,7 +72,7 @@ impl server::FreeFunctions for RaSpanServer {
7272 ) -> Result < bridge:: Literal < Self :: Span , Self :: Symbol > , ( ) > {
7373 // FIXME: keep track of LitKind and Suffix
7474 Ok ( bridge:: Literal {
75- kind : bridge:: LitKind :: Err ,
75+ kind : bridge:: LitKind :: Integer , // dummy
7676 symbol : Symbol :: intern ( self . interner , s) ,
7777 suffix : None ,
7878 span : self . call_site ,
@@ -202,7 +202,7 @@ impl server::TokenStream for RaSpanServer {
202202 tt:: TokenTree :: Leaf ( tt:: Leaf :: Literal ( lit) ) => {
203203 bridge:: TokenTree :: Literal ( bridge:: Literal {
204204 // FIXME: handle literal kinds
205- kind : bridge:: LitKind :: Err ,
205+ kind : bridge:: LitKind :: Integer , // dummy
206206 symbol : Symbol :: intern ( self . interner , & lit. text ) ,
207207 // FIXME: handle suffixes
208208 suffix : None ,
Original file line number Diff line number Diff line change @@ -64,7 +64,7 @@ impl server::FreeFunctions for TokenIdServer {
6464 ) -> Result < bridge:: Literal < Self :: Span , Self :: Symbol > , ( ) > {
6565 // FIXME: keep track of LitKind and Suffix
6666 Ok ( bridge:: Literal {
67- kind : bridge:: LitKind :: Err ,
67+ kind : bridge:: LitKind :: Integer , // dummy
6868 symbol : Symbol :: intern ( self . interner , s) ,
6969 suffix : None ,
7070 span : self . call_site ,
@@ -187,7 +187,7 @@ impl server::TokenStream for TokenIdServer {
187187 tt:: TokenTree :: Leaf ( tt:: Leaf :: Literal ( lit) ) => {
188188 bridge:: TokenTree :: Literal ( bridge:: Literal {
189189 // FIXME: handle literal kinds
190- kind : bridge:: LitKind :: Err ,
190+ kind : bridge:: LitKind :: Integer , // dummy
191191 symbol : Symbol :: intern ( self . interner , & lit. text ) ,
192192 // FIXME: handle suffixes
193193 suffix : None ,
You can’t perform that action at this time.
0 commit comments