diff options
| author | Jonas Schievink <jonasschievink@gmail.com> | 2020-10-24 14:12:01 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-10-24 14:12:01 +0200 |
| commit | d9acd7d148f9293f93c5e7d006f93a2265f04b7a (patch) | |
| tree | 2407e7e968c747a46bc7ce0456166ac580e92738 /compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp | |
| parent | fb92b70f95205f98a8f863cdf94734b9647ff20d (diff) | |
| parent | 9202fbdbdbd60adb62839c3230738274e30f15fc (diff) | |
| download | rust-d9acd7d148f9293f93c5e7d006f93a2265f04b7a.tar.gz rust-d9acd7d148f9293f93c5e7d006f93a2265f04b7a.zip | |
Rollup merge of #78109 - cuviper:exhausted-rangeinc, r=dtolnay
Check for exhaustion in RangeInclusive::contains and slicing When a range has finished iteration, `is_empty` returns true, so it should also be the case that `contains` returns false. Fixes #77941.
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
