mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-04 09:53:04 +03:00
28b86e0860
Update error to reflect that integer literals can have float suffixes For example, `1` is parsed as an integer literal, but it can be turned into a float with the suffix `f32`. Now the error calls them "numeric literals" and notes that you can add a float suffix since they can be either integers or floats.