about summary refs log tree commit diff
path: root/compiler/rustc_mir/src/transform/coverage/mod.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2020-11-30 01:42:14 +0000
committerbors <bors@rust-lang.org>2020-11-30 01:42:14 +0000
commit3be53bc45ae6e8786c9fe1e6d776fc4ec4c6af7b (patch)
treeeb315a9317b64157528e03a64848eefc55f8a58c /compiler/rustc_mir/src/transform/coverage/mod.rs
parentd55d791a3a5b1fb67966099ccb4a961d546e4ad6 (diff)
parent2347eac4ccf62457994901501f64c84535a20f9b (diff)
downloadrust-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