about summary refs log tree commit diff
path: root/tests/debuginfo/enum-thinlto.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2022-09-26 09:35:59 +0000
committerbors <bors@rust-lang.org>2022-09-26 09:35:59 +0000
commit1a24003eb6bc8377e76cd9f70bf6700bc842e99b (patch)
treec44013a47c1f8c769395da24566ab96fd088f7fe /tests/debuginfo/enum-thinlto.rs
parent1f929659acff378adad85fcea747f8b19a0f819f (diff)
parentc2dc32c48e8a7027390738b63e88fe220e4e56d9 (diff)
downloadrust-1a24003eb6bc8377e76cd9f70bf6700bc842e99b.tar.gz
rust-1a24003eb6bc8377e76cd9f70bf6700bc842e99b.zip
Auto merge of #13248 - harudagondi:unwrap-tuple, r=Veykril
Feature: Add assist to unwrap tuple declarations

> Implement #12923 for only tuples.
>
> Does not implement unwrapping for structs, as mentioned in the issue.

Add assist to unwrap tuples declarations to separate declarations.

```rust
fn main() {
	$0let (foo, bar, baz) = (1.0, "example", String::new())
}
```

becomes:

```rust
fn main() {
	let foo = 1.0;
	let bar = "example";
	let baz = String::new();
}
```

## Changelog

### Feature

- Added assist to unwrap tuple declarations.
Diffstat (limited to 'tests/debuginfo/enum-thinlto.rs')
0 files changed, 0 insertions, 0 deletions