about summary refs log tree commit diff
path: root/compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp
diff options
context:
space:
mode:
authorA4-Tacks <wdsjxhno1001@163.com>2025-08-22 11:38:19 +0800
committerA4-Tacks <wdsjxhno1001@163.com>2025-08-22 11:43:03 +0800
commitb20ddc2d3f029bdbade7d86cdcf021a7cb8c3d8b (patch)
tree4cafeca8ab2972f82e9f0304639916b67f9a3f4f /compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp
parent8e7cca83344e511e263e91f9539b8d341b2dd2bb (diff)
downloadrust-b20ddc2d3f029bdbade7d86cdcf021a7cb8c3d8b.tar.gz
rust-b20ddc2d3f029bdbade7d86cdcf021a7cb8c3d8b.zip
Fix indent for move_guard_to_arm_body
Input:

```rust
fn main() {
    match 92 {
        x $0if true
            && true
            && true =>
        {
            {
                false
            }
        },
        _ => true
    }
}
```

Old output:

```rust
fn main() {
    match 92 {
        x =>
        if true
                    && true
                    && true {
            {
                    {
                        false
                    }
                }
        },
        _ => true
    };
}
```

This PR fixed:

```rust
fn main() {
    match 92 {
        x => if true
            && true
            && true {
            {
                {
                    false
                }
            }
        },
        _ => true
    }
}
```
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions