about summary refs log tree commit diff
path: root/compiler/rustc_interface/src
diff options
context:
space:
mode:
authorA4-Tacks <wdsjxhno1001@163.com>2025-09-17 14:59:02 +0800
committerA4-Tacks <wdsjxhno1001@163.com>2025-09-17 15:11:22 +0800
commit603d64c3bb61e5e39bf624cc152fe1b844e70220 (patch)
treed6722d131aef11a7c2e3f63292041e625f5325a3 /compiler/rustc_interface/src
parentc307fd8e3320bbaabd68a5299e6fb89ad703887b (diff)
downloadrust-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