File tree Expand file tree Collapse file tree 2 files changed +2
-0
lines changed
crates/proc-macro-srv/src/server Expand file tree Collapse file tree 2 files changed +2
-0
lines changed Original file line number Diff line number Diff line change @@ -76,6 +76,7 @@ impl server::FreeFunctions for RaSpanServer {
76
76
77
77
let kind = literal_to_external ( literal. kind ( ) ) . ok_or ( Err ( ( ) ) ) ?;
78
78
79
+ // FIXME: handle more than just int and float suffixes
79
80
let suffix = match literal. kind ( ) {
80
81
ast:: LiteralKind :: FloatNumber ( num) | ast:: LiteralKind :: IntNumber ( num) => num. suffix ( ) ,
81
82
_ => None ,
Original file line number Diff line number Diff line change @@ -67,6 +67,7 @@ impl server::FreeFunctions for TokenIdServer {
67
67
68
68
let kind = literal_to_external ( literal. kind ( ) ) . ok_or ( Err ( ( ) ) ) ?;
69
69
70
+ // FIXME: handle more than just int and float suffixes
70
71
let suffix = match literal. kind ( ) {
71
72
ast:: LiteralKind :: FloatNumber ( num) | ast:: LiteralKind :: IntNumber ( num) => num. suffix ( ) ,
72
73
_ => None ,
You can’t perform that action at this time.
0 commit comments