diff options
| author | bors <bors@rust-lang.org> | 2020-11-30 01:42:14 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2020-11-30 01:42:14 +0000 |
| commit | 3be53bc45ae6e8786c9fe1e6d776fc4ec4c6af7b (patch) | |
| tree | eb315a9317b64157528e03a64848eefc55f8a58c /compiler/rustc_mir/src/transform/coverage/mod.rs | |
| parent | d55d791a3a5b1fb67966099ccb4a961d546e4ad6 (diff) | |
| parent | 2347eac4ccf62457994901501f64c84535a20f9b (diff) | |
| download | rust-3be53bc45ae6e8786c9fe1e6d776fc4ec4c6af7b.tar.gz rust-3be53bc45ae6e8786c9fe1e6d776fc4ec4c6af7b.zip | |
Auto merge of #79329 - camelid:int-lit-suffix-error, r=davidtwco
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
