rust-analyzer/crates/ide-assists
A4-Tacks d4731ad9e2
Fix panics on Foo{mut x} for destructure_struct_binding
Example
---
```rust
struct Foo { x: () }
struct Bar { foo: Foo }
fn f(Bar { mut $0foo }: Bar) {}
```

**Before this PR**:

Panic `Option::unwrap`

**After this PR**:

```rust
struct Foo { x: () }
struct Bar { foo: Foo }
fn f(Bar { foo: Foo { mut x } }: Bar) {}
```
2025-09-20 16:14:51 +08:00
..
src Fix panics on Foo{mut x} for destructure_struct_binding 2025-09-20 16:14:51 +08:00
Cargo.toml Don't run doctests 2025-06-23 00:50:22 +03:00