diff options
| author | Camelid <camelidcamel@gmail.com> | 2020-11-22 14:29:46 -0800 |
|---|---|---|
| committer | Camelid <camelidcamel@gmail.com> | 2020-11-27 19:08:24 -0800 |
| commit | a3cde636fc46bbd9ac4a66cda04349fad26f75c9 (patch) | |
| tree | ee237f74a276bcdb54670f16c635ef55f4c75867 /compiler/rustc_mir/src/transform/coverage/mod.rs | |
| parent | 52e3cf13aa9716f6648b1cad286ccd8d37aa315f (diff) | |
| download | rust-a3cde636fc46bbd9ac4a66cda04349fad26f75c9.tar.gz rust-a3cde636fc46bbd9ac4a66cda04349fad26f75c9.zip | |
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.
Diffstat (limited to 'compiler/rustc_mir/src/transform/coverage/mod.rs')
0 files changed, 0 insertions, 0 deletions
