about summary refs log tree commit diff
path: root/compiler/rustc_mir/src/transform/coverage/debug.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
commit28b86e0860f0593b85cda6c2c7b03ae8a582962f (patch)
tree0f0e7ca17c1c321c23fe71757dd9076868e3874d /compiler/rustc_mir/src/transform/coverage/debug.rs
parentcf9bfdb8726c07974c8db93f70ee7213ee20c563 (diff)
parenta3cde636fc46bbd9ac4a66cda04349fad26f75c9 (diff)
downloadrust-28b86e0860f0593b85cda6c2c7b03ae8a582962f.tar.gz
rust-28b86e0860f0593b85cda6c2c7b03ae8a582962f.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/debug.rs')
0 files changed, 0 insertions, 0 deletions