diff options
| author | bors <bors@rust-lang.org> | 2023-07-30 05:41:24 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2023-07-30 05:41:24 +0000 |
| commit | 4c2f460dccf78b9f94df0a235de6ea10b0d495d3 (patch) | |
| tree | af0155573973bac403b758f79527209a3bd3cc51 /compiler/rustc_llvm/llvm-wrapper/PassWrapper.cpp | |
| parent | 29730969b196781e92ca8c8b2d0a8bf9bb105e22 (diff) | |
| parent | 7423c2760b0dbfd4379d2c3eac309d660b859f41 (diff) | |
| download | rust-4c2f460dccf78b9f94df0a235de6ea10b0d495d3.tar.gz rust-4c2f460dccf78b9f94df0a235de6ea10b0d495d3.zip | |
Auto merge of #8685 - Jarcho:redundant_closure_fixes, r=llogiq
`redundant_closure` fixes fixes #8548 A good chunk of the code is fixing false negatives. The old code banned any non late-bound regions from appearing in the callee's signature. The new version checks when the late-bound region is actually required. changelog: Better track when a early-bound region appears when a late-bound region is required in `redundant_closure`. changelog: Don't lint `redundant_closure` when the closure gives explicit types.
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/PassWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
