Files
rust/compiler/rustc_parse/src/lexer
Matthias Krüger 686a4b1c17 Rollup merge of #121724 - nnethercote:LitKind-Err-for-floats, r=fmease
Use `LitKind::Err` for malformed floats

#121120 changed `StringReader::cook_lexer_literal` to return `LitKind::Err` for malformed integer literals. This commit does the same for float literals, for consistency.

r? ``@fmease``
2024-02-29 00:17:00 +01:00
..
2024-01-11 16:55:10 +11:00
2024-02-20 13:13:29 +00:00