diff options
| author | Matthias Krüger <matthias.krueger@famsik.de> | 2024-02-05 11:07:26 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-02-05 11:07:26 +0100 |
| commit | d13ce192c9f84e68ff4c9910cf3c30d516100fce (patch) | |
| tree | 33bb2e121a10d7bbf3a6ea3c8efcdaf213d9ba20 /compiler/rustc_llvm/llvm-wrapper/CoverageMappingWrapper.cpp | |
| parent | 78366782d1d9845e6e60256fbe35b69126f292ac (diff) | |
| parent | 1d94cc3895d5f2666eda129ba993840ec4f82852 (diff) | |
| download | rust-d13ce192c9f84e68ff4c9910cf3c30d516100fce.tar.gz rust-d13ce192c9f84e68ff4c9910cf3c30d516100fce.zip | |
Rollup merge of #116284 - RalfJung:no-nan-match, r=cjgillot
make matching on NaN a hard error, and remove the rest of illegal_floating_point_literal_pattern These arms would never be hit anyway, so the pattern makes little sense. We have had a future-compat lint against float matches in general for a *long* time, so I hope we can get away with immediately making this a hard error. This is part of implementing https://github.com/rust-lang/rfcs/pull/3535. Closes https://github.com/rust-lang/rust/issues/41620 by removing the lint. https://github.com/rust-lang/reference/pull/1456 updates the reference to match.
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/CoverageMappingWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
