diff options
| author | A4-Tacks <wdsjxhno1001@163.com> | 2025-09-24 14:36:09 +0800 |
|---|---|---|
| committer | A4-Tacks <wdsjxhno1001@163.com> | 2025-09-24 14:36:09 +0800 |
| commit | 6e897949a5a1fb3bb70c5166cced9b24af879882 (patch) | |
| tree | 5c69288a1978bf3ab4f659b4a831747cf1d69421 /compiler/rustc_llvm/llvm-wrapper/PassWrapper.cpp | |
| parent | 1393e638bd29f24203c5f153a863a5c18464e304 (diff) | |
| download | rust-6e897949a5a1fb3bb70c5166cced9b24af879882.tar.gz rust-6e897949a5a1fb3bb70c5166cced9b24af879882.zip | |
Fix applicable on if-let-chain for invert_if
Example
---
```rust
fn f() { i$0f x && let Some(_) = Some(1) { 1 } else { 0 } }
```
**Before this PR**:
```rust
fn f() { if !(x && let Some(_) = Some(1)) { 0 } else { 1 } }
```
**After this PR**:
Assist not applicable
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/PassWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
