diff options
| author | A4-Tacks <wdsjxhno1001@163.com> | 2025-09-05 15:34:49 +0800 |
|---|---|---|
| committer | A4-Tacks <wdsjxhno1001@163.com> | 2025-09-05 15:57:51 +0800 |
| commit | b9b235acb088aa88d96890c930e174ab56abbccd (patch) | |
| tree | fefbeec6b871043cad53fff38f22f078a20fee8a /compiler/rustc_llvm/llvm-wrapper/Linker.cpp | |
| parent | ab5113a316959f2558f03a7bf590e967602f02df (diff) | |
| download | rust-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
