about summary refs log tree commit diff
path: root/src/test/incremental/thinlto
diff options
context:
space:
mode:
authorkennytm <kennytm@gmail.com>2018-02-25 21:36:46 +0800
committerkennytm <kennytm@gmail.com>2018-02-25 21:36:46 +0800
commit0652af21b5b2cedacff71c6e613addbd8d17ec58 (patch)
tree704067324b813ed1ef3e3a0746bf6af5ff918424 /src/test/incremental/thinlto
parent268b6d61894d535f8414eee923ac740d8d3fef81 (diff)
parentc0e87f13a4d2f6fcef92c8c01bdc8dda9e0549a5 (diff)
downloadrust-0652af21b5b2cedacff71c6e613addbd8d17ec58.tar.gz
rust-0652af21b5b2cedacff71c6e613addbd8d17ec58.zip
Rollup merge of #48235 - varkor:parse-float-lonely-exponent, r=alexcrichton
Make ".e0" not parse as 0.0

This forces floats to have either a digit before the separating point, or after. Thus `".e0"` is invalid like `"."`, when using `parse()`. Fixes #40654. As mentioned in the issue, this is technically a breaking change... but clearly incorrect behaviour at present.
Diffstat (limited to 'src/test/incremental/thinlto')
0 files changed, 0 insertions, 0 deletions