diff options
| author | bors <bors@rust-lang.org> | 2023-08-01 09:50:16 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2023-08-01 09:50:16 +0000 |
| commit | 62dcf39ef059888c1f8819fe9eb66089a5537c8d (patch) | |
| tree | b608081706efd0c8f117ce87a92b45716e9dafcf /tests/rustdoc-js-std/basic.js | |
| parent | 43ecf2944dec8ec3cee9fd33dea185ed07fd7239 (diff) | |
| parent | 7a87a35f1aaeaf8d463f200a2f3ce47d5e10bbf9 (diff) | |
| download | rust-62dcf39ef059888c1f8819fe9eb66089a5537c8d.tar.gz rust-62dcf39ef059888c1f8819fe9eb66089a5537c8d.zip | |
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?
Diffstat (limited to 'tests/rustdoc-js-std/basic.js')
0 files changed, 0 insertions, 0 deletions
