diff options
| author | A4-Tacks <wdsjxhno1001@163.com> | 2025-09-17 14:59:02 +0800 |
|---|---|---|
| committer | A4-Tacks <wdsjxhno1001@163.com> | 2025-09-17 15:11:22 +0800 |
| commit | 603d64c3bb61e5e39bf624cc152fe1b844e70220 (patch) | |
| tree | d6722d131aef11a7c2e3f63292041e625f5325a3 /compiler/rustc_interface/src | |
| parent | c307fd8e3320bbaabd68a5299e6fb89ad703887b (diff) | |
| download | rust-603d64c3bb61e5e39bf624cc152fe1b844e70220.tar.gz rust-603d64c3bb61e5e39bf624cc152fe1b844e70220.zip | |
Fix complete type in nested pattern
Example
---
```rust
struct Foo { num: u32 }
struct Bar(Foo);
fn foo(Bar($0)) {}
```
**Before this PR**:
```rust
struct Foo { num: u32 }
struct Bar(Foo);
fn foo(Bar(Foo { num$1 }: Foo$0)) {}
```
**After this PR**:
```rust
struct Foo { num: u32 }
struct Bar(Foo);
fn foo(Bar(Foo { num$1 }$0)) {}
```
Diffstat (limited to 'compiler/rustc_interface/src')
0 files changed, 0 insertions, 0 deletions
