diff --git a/src/grammar/RustLexer.g4 b/src/grammar/RustLexer.g4 index f2705e5421b..e8165dabce5 100644 --- a/src/grammar/RustLexer.g4 +++ b/src/grammar/RustLexer.g4 @@ -120,10 +120,9 @@ LIT_INTEGER | '0x' [0-9a-fA-F][0-9a-fA-F_]* INT_SUFFIX? ; -FLOAT_SUFFIX +fragment FLOAT_SUFFIX : 'f32' | 'f64' - | 'f128' ; LIT_FLOAT