diff options
| author | A4-Tacks <wdsjxhno1001@163.com> | 2025-09-25 21:57:45 +0800 |
|---|---|---|
| committer | A4-Tacks <wdsjxhno1001@163.com> | 2025-09-25 22:04:53 +0800 |
| commit | 11c35cd0bcb6e0c285be031f10d14d64bbf2bd9c (patch) | |
| tree | 1b33ed5e9de3924a20f8ebc48d8b3ef3e9ceed44 /compiler/rustc_codegen_gcc | |
| parent | 1947949f3d7212c181049d96e2665481d3bddc6b (diff) | |
| download | rust-11c35cd0bcb6e0c285be031f10d14d64bbf2bd9c.tar.gz rust-11c35cd0bcb6e0c285be031f10d14d64bbf2bd9c.zip | |
Add applicable in closure for convert_to_guarded_return
Example
---
```rust
fn main() {
let _f = || {
bar();
if$0 true {
foo();
// comment
bar();
}
}
}
```
->
```rust
fn main() {
let _f = || {
bar();
if false {
return;
}
foo();
// comment
bar();
}
}
```
Diffstat (limited to 'compiler/rustc_codegen_gcc')
0 files changed, 0 insertions, 0 deletions
