Skip to content

Commit

Permalink
Auto merge of #15152 - alibektas:14987, r=Veykril,lowr
Browse files Browse the repository at this point in the history
assist : generate trait from impl

fixes #14987 . As the name suggests this assist is used to generate traits from inherent impls while adapting the original impl to fit to the newly generated trait. I made some decisions regarding when the assist should be applicable. These are surely open to discussion. I looking forward to any feedback.

![generate_trait_from_impl_v1](https://github.com/rust-lang/rust-analyzer/assets/20956650/05d4dda5-604a-4108-8b82-9b60bd45894a)
  • Loading branch information
bors committed Jul 5, 2023
2 parents 3ea31e0 + 8edb3e1 commit aa91eda
Show file tree
Hide file tree
Showing 4 changed files with 528 additions and 0 deletions.

0 comments on commit aa91eda

Please sign in to comment.