diff options
| author | A4-Tacks <wdsjxhno1001@163.com> | 2025-09-25 21:57:10 +0800 |
|---|---|---|
| committer | A4-Tacks <wdsjxhno1001@163.com> | 2025-09-25 22:00:56 +0800 |
| commit | 1947949f3d7212c181049d96e2665481d3bddc6b (patch) | |
| tree | c08ab9ef58ad0c9b57c6551158aa3d76ae8c6499 /compiler/rustc_codegen_llvm/src/errors.rs | |
| parent | c1cd1da668650d0e9e0f143f89a17387d96979c2 (diff) | |
| download | rust-1947949f3d7212c181049d96e2665481d3bddc6b.tar.gz rust-1947949f3d7212c181049d96e2665481d3bddc6b.zip | |
Fix not applicable for if-expr in let-stmt
Example
---
```rust
fn main() {
let _x = loop {
if$0 let Ok(x) = Err(92) {
foo(x);
}
};
}
```
**Before**:
Assist not applicable
**After**:
```rust
fn main() {
let _x = loop {
let Ok(x) = Err(92) else { continue };
foo(x);
};
}
```
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/errors.rs')
0 files changed, 0 insertions, 0 deletions
