rust/crates/ide-completion
bors 63123ab408 Auto merge of #16417 - davidsemakula:normalize-use-trees, r=Veykril
feat: "Normalize import" assist and utilities for normalizing use trees

- Add import/use tree normalization utilities
- Add "normalize import" assist
- Update "merge imports" assist to always apply to the covering use item except for nested use tree selections
- Update "merge imports" assist to avoid adding unnecessary braces when merging nested use tree selections

See [this discussion](https://github.com/rust-lang/rust-analyzer/pull/16372#discussion_r1457244321) for the motivation for the new "normalize import" assist and changes to the "merge imports" assist.
2024-01-30 14:55:08 +00:00
..
src Auto merge of #16417 - davidsemakula:normalize-use-trees, r=Veykril 2024-01-30 14:55:08 +00:00
Cargo.toml Use Cargo's [workspace.lints.*] to config clippy 2023-12-29 23:51:32 +09:00