Unnamed repository; edit this file 'description' to name the repository.
Diffstat (limited to 'crates/syntax/rust.ungram')
-rw-r--r--crates/syntax/rust.ungram4
1 files changed, 3 insertions, 1 deletions
diff --git a/crates/syntax/rust.ungram b/crates/syntax/rust.ungram
index 8e4f07d3b5..85270dee62 100644
--- a/crates/syntax/rust.ungram
+++ b/crates/syntax/rust.ungram
@@ -373,7 +373,9 @@ Literal =
)
FloatLiteral =
- 'float_number_part'
+ 'float_number_start_0'?
+ 'float_number_start_1'?
+ 'float_number_start_2'?
'.'?
'float_number_part'?