Extend invalid floating point literal suffix suggestion #100527
Labels
A-diagnostics
Area: Messages for errors, warnings, and lints
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
Given the following code: link
The current output is:
Ideally for all the above invalid ways to writing a floating point literal, the complier should highlight that there are only 2 valid floating point literal suffix "f32" and "f64". Additionally, it may also include a note informing the user that a trailing '0' must be present in floating point literals.
The text was updated successfully, but these errors were encountered: