Add range lint for float literals, fixing #10934
auto merge of #14519 : hirschenberger/rust/issue-10934, r=alexcrichton

Issue #10934