rust/crates/syntax/src
bors 62dcf39ef0 Auto merge of #14723 - obsgolem:master, r=Veykril
Added remove unused imports assist

This resolves the most important part of #5131. I needed to make a couple of cosmetic changes to the search infrastructure to do this.

A few open questions:
* Should imports that don't resolve to anything be considered unused? I figured probably not, but it would be a trivial change to make if we want it.
* Is there a cleaner way to make the edits to the use list?
* Is there a cleaner way to get the list of uses that intersect the current selection?
* Is the performance acceptable? When testing this on itself, it takes a good couple seconds to perform the assist.
* Is there a way to hide the rustc diagnostics that overlap with this functionality?
2023-08-01 09:50:16 +00:00
..
ast Auto merge of #14723 - obsgolem:master, r=Veykril 2023-08-01 09:50:16 +00:00
parsing Support c string literals 2023-05-18 11:06:05 +02:00
tests fix: Expand eager macros to delimited comma separated expression list 2023-07-30 17:31:26 +02:00
validation
algo.rs
ast.rs refactor: leverage HasAttrs for code brevity 2023-03-04 00:24:03 +09:00
fuzz.rs
hacks.rs
lib.rs fix: Expand eager macros to delimited comma separated expression list 2023-07-30 17:31:26 +02:00
parsing.rs
ptr.rs
syntax_error.rs
syntax_node.rs suppress lint 2023-01-10 07:06:26 +00:00
ted.rs
tests.rs
token_text.rs Bump smol-str 2023-04-11 14:39:19 +02:00
utils.rs Make is_raw_identifier() public util function 2023-02-13 18:43:59 +09:00
validation.rs Support c string literals 2023-05-18 11:06:05 +02:00