diff options
| author | bors <bors@rust-lang.org> | 2021-01-31 15:09:55 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2021-01-31 15:09:55 +0000 |
| commit | c5f3f9df3bb1d89ed8cd624c595af90396899360 (patch) | |
| tree | bcd769c695f3f44365743cdb6ce89d3648c9ca60 /compiler/rustc_llvm/llvm-wrapper | |
| parent | ed112741b2662b6fb8a32de0357de235e25da12d (diff) | |
| parent | 051891173d4018abfb353235c912e8cd649f73e3 (diff) | |
| download | rust-c5f3f9df3bb1d89ed8cd624c595af90396899360.tar.gz rust-c5f3f9df3bb1d89ed8cd624c595af90396899360.zip | |
Auto merge of #6603 - ThibsG:MatchOverlappingArm5986, r=flip1995
Do not lint when range is completely included into another one
This fix has been developed following this [comment](https://github.com/rust-lang/rust-clippy/issues/5986#issuecomment-703313548).
So this will be linted:
```
|----------|
|-----------|
```
Now this won't be linted:
```
|---|
|--------------------|
```
and this will still lint:
```
|--------|
|--------------|
```
Fixes: #5986
changelog: Fix FPs in match_overlapping_arm, when first arm is completely included in second arm
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper')
0 files changed, 0 insertions, 0 deletions
