about summary refs log tree commit diff
path: root/compiler/rustc_llvm/llvm-wrapper/Linker.cpp
diff options
context:
space:
mode:
authorA4-Tacks <wdsjxhno1001@163.com>2025-09-05 15:34:49 +0800
committerA4-Tacks <wdsjxhno1001@163.com>2025-09-05 15:57:51 +0800
commitb9b235acb088aa88d96890c930e174ab56abbccd (patch)
treefefbeec6b871043cad53fff38f22f078a20fee8a /compiler/rustc_llvm/llvm-wrapper/Linker.cpp
parentab5113a316959f2558f03a7bf590e967602f02df (diff)
downloadrust-b9b235acb088aa88d96890c930e174ab56abbccd.tar.gz
rust-b9b235acb088aa88d96890c930e174ab56abbccd.zip
Fix indent for unresolved_field fixes
Examples
---
```rust
mod indent {
    struct Foo {}

    fn foo() {
        let foo = Foo{};
        foo.bar$0;
    }
}
```

**Before this PR**:

```rust
mod indent {
    struct Foo {        bar: ()
}

    fn foo() {
        let foo = Foo{};
        foo.bar;
    }
}
```

**After this PR**:

```rust
mod indent {
    struct Foo {
        bar: ()
    }

    fn foo() {
        let foo = Foo{};
        foo.bar;
    }
}
```

---
New field list add newline

```rust
mod indent {
    struct Foo;

    fn foo() {
        Foo.bar$0;
    }
}
```

**Before this PR**:

```rust
mod indent {
    struct Foo{ bar: () }

    fn foo() {
        Foo.bar;
    }
}
```

**After this PR**:

```rust
mod indent {
    struct Foo {
        bar: (),
    }

    fn foo() {
        Foo.bar;
    }
}
```
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/Linker.cpp')
0 files changed, 0 insertions, 0 deletions