Skip to content
This repository was archived by the owner on May 28, 2025. It is now read-only.

Commit 027f263

Browse files
committed
Note FIXME for suffixes
1 parent 6cd458f commit 027f263

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

crates/proc-macro-srv/src/server/rust_analyzer_span.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,7 @@ impl server::FreeFunctions for RaSpanServer {
7676

7777
let kind = literal_to_external(literal.kind()).ok_or(Err(()))?;
7878

79+
// FIXME: handle more than just int and float suffixes
7980
let suffix = match literal.kind() {
8081
ast::LiteralKind::FloatNumber(num) | ast::LiteralKind::IntNumber(num) => num.suffix(),
8182
_ => None,

crates/proc-macro-srv/src/server/token_id.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,7 @@ impl server::FreeFunctions for TokenIdServer {
6767

6868
let kind = literal_to_external(literal.kind()).ok_or(Err(()))?;
6969

70+
// FIXME: handle more than just int and float suffixes
7071
let suffix = match literal.kind() {
7172
ast::LiteralKind::FloatNumber(num) | ast::LiteralKind::IntNumber(num) => num.suffix(),
7273
_ => None,

0 commit comments

Comments
 (0)