about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src/errors.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2024-05-27 16:40:04 +0000
committerbors <bors@rust-lang.org>2024-05-27 16:40:04 +0000
commitc1b051602ce2f6844fd703cad0146ed5ea8185e6 (patch)
treedc021188a0badc46d9223696ea988374b52ef4ba /compiler/rustc_codegen_llvm/src/errors.rs
parentcbd40a2da4c10897060025d78d3f24bf7efb557a (diff)
parent14dc51c1acfec5f0d01886a1422244f07d20176c (diff)
downloadrust-c1b051602ce2f6844fd703cad0146ed5ea8185e6.tar.gz
rust-c1b051602ce2f6844fd703cad0146ed5ea8185e6.zip
Auto merge of #17258 - maxwase:code-assist-async-sugar, r=Veykril
Add `toggle_async_sugar` assist code action

Implement code action for sugaring and de-sugaring asynchronous functions.

This code action does not import `Future` trait when de-sugaring and does not touch function boby, I guess this can be implemented later if needed. This action also does not take into consideration other bounds because IMO it's usually "let me try to use sugared version here".

Feel free to request changes, that's my first code action implementation 😄

Closes #17010
Relates to #16195
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/errors.rs')
0 files changed, 0 insertions, 0 deletions