diff options
author | bors[bot] <26634292+bors[bot]@users.noreply.github.com> | 2020-10-05 23:00:40 +0100 |
---|---|---|
committer | GitHub <[email protected]> | 2020-10-05 23:00:40 +0100 |
commit | dd6a352e64a2d52efd43feca4b2e80d124210a60 (patch) | |
tree | 9d8ac48868ba23669f48e665b7c4f8168d7ae9a7 /crates/syntax/test_data/parser/ok/0009_use_item.rast | |
parent | 3fc7338dcb8af4bc8771ae319ae0dd1612fa9013 (diff) | |
parent | b2bfadb52c51b0f73f0b425fb6a486bb644e8ebb (diff) |
Merge #6111
6111: Add assist for converting the base of integer literals. r=SomeoneToIgnore a=vlakreeh
This PR adds an assist similar to Intellij's [convert number to](https://i.imgur.com/JH6wstP.png). It also does a small refactor to [assists/src/tests.rs](https://github.com/rust-analyzer/rust-analyzer/blob/fc34403018079ea053f26d0a31b7517053c7dd8c/crates/assists/src/tests.rs) to add the ability to specify the resolved assist for a specific action within an assist group.
## Demo
![Demo of the assist in action](https://i.imgur.com/MBhdPFH.gif)
Co-authored-by: vlakreeh <[email protected]>
Diffstat (limited to 'crates/syntax/test_data/parser/ok/0009_use_item.rast')
0 files changed, 0 insertions, 0 deletions