commit | 5ae781562e412114fb72b5be7d26af5bb86c29d5 | [log] [tgz] |
---|---|---|
author | bors <bors@rust-lang.org> | Fri Dec 08 10:38:03 2023 +0000 |
committer | bors <bors@rust-lang.org> | Fri Dec 08 10:38:03 2023 +0000 |
tree | bb8933b23f1c1ff82c95bc9f70845768b5402d80 | |
parent | c27fc0c945e467177e0b01d25c510d559bdce4f4 [diff] | |
parent | 3d9221291fb6630c90d1956c2f56d1bbbac55c93 [diff] |
Auto merge of #15515 - cardoso:flip-binexpr/lhs-binexpr, r=Veykril Check if lhs is also a binexpr and use its rhs in flip binexpr assist Closes #15508 From the original PR, flip binexpr assist is not meant to preserve equivalence, so I went with the simplest solution here. I can add some extra checks to keep equivalence, but I think they should go in different specific assists (eg. flip arith op / flip logic op / etc), otherwise this one will get out of hand pretty quickly.
rust-analyzer is a modular compiler frontend for the Rust language. It is a part of a larger rls-2.0 effort to create excellent IDE support for Rust.
https://rust-analyzer.github.io/manual.html#installation
If you want to contribute to rust-analyzer or are just curious about how things work under the hood, check the ./docs/dev folder.
If you want to use rust-analyzer's language server with your editor of choice, check the manual folder. It also contains some tips & tricks to help you be more productive when using rust-analyzer.
See the corresponding sections of the manual.
For usage and troubleshooting requests, please use “IDEs and Editors” category of the Rust forum:
https://users.rust-lang.org/c/ide/14
For questions about development and implementation, join rust-analyzer working group on Zulip:
https://rust-lang.zulipchat.com/#narrow/stream/185405-t-compiler.2Frust-analyzer
rust-analyzer is primarily distributed under the terms of both the MIT license and the Apache License (Version 2.0).
See LICENSE-APACHE and LICENSE-MIT for details.