about summary refs log tree commit diff
path: root/compiler/rustc_pattern_analysis/src
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2024-02-29 00:17:00 +0100
committerGitHub <noreply@github.com>2024-02-29 00:17:00 +0100
commit686a4b1c17acb660e2597468943fceae30446764 (patch)
tree6b6802e6e6ff395f01e14a933f03e1b068c636f4 /compiler/rustc_pattern_analysis/src
parent843920f0f6a8d624ee05e2b65eae953ea9f1caf8 (diff)
parent840c8d3243761ac7d3976239aeba6f866f9df1eb (diff)
downloadrust-686a4b1c17acb660e2597468943fceae30446764.tar.gz
rust-686a4b1c17acb660e2597468943fceae30446764.zip
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``
Diffstat (limited to 'compiler/rustc_pattern_analysis/src')
0 files changed, 0 insertions, 0 deletions