rust/crates
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
..
base-db Re-order mod declarations 2024-01-27 11:02:34 +01:00
cfg Cleanup convert_path 2024-01-26 19:28:39 +01:00
flycheck Merge commit '426d2842c1f0e5cc5e34bb37c7ac3ee0945f9746' into sync-from-ra2 2024-01-03 11:35:07 +02:00
hir cargo clippy --fix 2024-01-30 14:50:21 +01:00
hir-def Auto merge of #16439 - wasd96040501:feat/gotodef3, r=Veykril 2024-01-30 11:27:18 +00:00
hir-expand cargo clippy --fix 2024-01-30 14:50:21 +01:00
hir-ty cargo clippy --fix 2024-01-30 14:50:21 +01:00
ide Auto merge of #16447 - Veykril:mir-errors, r=Veykril 2024-01-30 11:38:41 +00:00
ide-assists add more tests for normalize import assist 2024-01-28 11:55:01 +03:00
ide-completion Auto merge of #16417 - davidsemakula:normalize-use-trees, r=Veykril 2024-01-30 14:55:08 +00:00
ide-db style: remove unnecessary macro 2024-01-30 16:15:15 +03:00
ide-diagnostics Auto merge of #16427 - Young-Flash:fix_no_such_field_diagnostics, r=Veykril 2024-01-27 10:52:36 +00:00
ide-ssr Re-order mod declarations 2024-01-27 11:02:34 +01:00
intern Merge commit '426d2842c1f0e5cc5e34bb37c7ac3ee0945f9746' into sync-from-ra2 2024-01-03 11:35:07 +02:00
limit Merge commit '426d2842c1f0e5cc5e34bb37c7ac3ee0945f9746' into sync-from-ra2 2024-01-03 11:35:07 +02:00
load-cargo Merge commit 'a9116523604c998e7781f60d3b5a6f586e0414a9' into sync-from-ra 2024-01-21 16:53:06 +02:00
mbe Re-order mod declarations 2024-01-27 11:02:34 +01:00
parser Re-order mod declarations 2024-01-27 11:02:34 +01:00
paths Merge commit '426d2842c1f0e5cc5e34bb37c7ac3ee0945f9746' into sync-from-ra2 2024-01-03 11:35:07 +02:00
proc-macro-api Merge commit '9d8889cdfcc3aa0302353fc988ed21ff9bc9925c' into sync-from-ra 2024-01-15 11:40:09 +02:00
proc-macro-srv collapsible_if 2024-01-30 14:44:44 +01:00
proc-macro-srv-cli Merge commit '9d8889cdfcc3aa0302353fc988ed21ff9bc9925c' into sync-from-ra 2024-01-15 11:40:09 +02:00
profile Re-order mod declarations 2024-01-27 11:02:34 +01:00
project-model Re-order mod declarations 2024-01-27 11:02:34 +01:00
rust-analyzer Auto merge of #16447 - Veykril:mir-errors, r=Veykril 2024-01-30 11:38:41 +00:00
sourcegen Merge commit '426d2842c1f0e5cc5e34bb37c7ac3ee0945f9746' into sync-from-ra2 2024-01-03 11:35:07 +02:00
span Don't parse intra doc links as syntax trees 2024-01-26 20:00:47 +01:00
stdx Re-order mod declarations 2024-01-27 11:02:34 +01:00
syntax make ast::UseTree::wrap_in_tree_list more robust 2024-01-27 14:22:16 +03:00
test-fixture Merge commit 'a9116523604c998e7781f60d3b5a6f586e0414a9' into sync-from-ra 2024-01-21 16:53:06 +02:00
test-utils Cleanup error variants in MIR code slightly 2024-01-30 09:53:39 +01:00
text-edit Merge commit '426d2842c1f0e5cc5e34bb37c7ac3ee0945f9746' into sync-from-ra2 2024-01-03 11:35:07 +02:00
toolchain Merge commit '426d2842c1f0e5cc5e34bb37c7ac3ee0945f9746' into sync-from-ra2 2024-01-03 11:35:07 +02:00
tt Merge commit '426d2842c1f0e5cc5e34bb37c7ac3ee0945f9746' into sync-from-ra2 2024-01-03 11:35:07 +02:00
vfs Merge commit 'a9116523604c998e7781f60d3b5a6f586e0414a9' into sync-from-ra 2024-01-21 16:53:06 +02:00
vfs-notify Merge commit 'a9116523604c998e7781f60d3b5a6f586e0414a9' into sync-from-ra 2024-01-21 16:53:06 +02:00