rust-analyzer/crates
bors 7ca45dcf04 Auto merge of #15410 - alibektas:15240/invalid-demorgan, r=Veykril
internal : rewrite DeMorgan assist

fixes #15239 , #15240 . This PR is a rewrite of the DeMorgan assist that essentially rids of all the string manipulation and modifies syntax trees to apply demorgan on a binary expr. The main reason for the rewrite is that I wanted to use `Expr::needs_parens_in` method to see if the expr on which the assist is applied would still need the parens it had once the parent expression's operator had equal precedence with that of the expression. I used `.clone_(subtree|for_update)` left and right and probably more than I should have, so I would also be happy to hear how I could have prevented redundant cloning.
2023-08-15 07:29:28 +00:00
..
base-db Support libc::getenv in mir interpreter 2023-08-06 01:46:29 +03:30
cfg Replace x with it 2023-07-06 17:33:17 +03:30
flycheck Bump more deps 2023-06-22 11:44:10 +02:00
hir Auto merge of #15418 - oxalica:fix/sig-from-macro, r=Veykril 2023-08-15 06:25:13 +00:00
hir-def Auto merge of #15438 - Veykril:eager-parser-stuck, r=Veykril 2023-08-12 14:30:38 +00:00
hir-expand Simplify 2023-08-10 20:10:19 +02:00
hir-ty Auto merge of #15436 - Veykril:temp-alloc, r=Veykril 2023-08-12 04:38:32 +00:00
ide Auto merge of #15418 - oxalica:fix/sig-from-macro, r=Veykril 2023-08-15 06:25:13 +00:00
ide-assists Auto merge of #15410 - alibektas:15240/invalid-demorgan, r=Veykril 2023-08-15 07:29:28 +00:00
ide-completion Auto merge of #15383 - max-heller:issue-12568, r=Veykril 2023-08-15 06:39:50 +00:00
ide-db fix: Fix only_types config filtering out traits from world symbols 2023-08-12 06:40:49 +02:00
ide-diagnostics Add ExternCrateDecl to HIR 2023-08-02 11:52:55 +02:00
ide-ssr Prefer hir::SelfParam and fix signature help of methods from macros 2023-08-09 02:42:08 +08:00
intern Bump more deps 2023-06-22 11:44:10 +02:00
limit Merge commit 'aa9bc8612514d216f84eec218dfd19ab83f3598a' into sync-from-ra 2023-06-05 12:04:23 +03:00
load-cargo Fix publishing of load-cargo crate 2023-07-10 13:40:37 +03:00
mbe fix: Fix float parser hack creating empty NameRef tokens 2023-08-08 14:44:33 +02:00
parser Fix parser being stuck in eager macro inputs 2023-08-12 08:27:27 +02:00
paths internal: use consistent style for error handling 2023-06-19 13:01:47 +01:00
proc-macro-api Support reading uncompressed proc macro metadata 2023-07-17 13:30:19 +00:00
proc-macro-srv Minor refactoring 2023-07-27 16:30:57 +09:00
proc-macro-srv-cli Merge commit 'aa9bc8612514d216f84eec218dfd19ab83f3598a' into sync-from-ra 2023-06-05 12:04:23 +03:00
proc-macro-test ⬆️ rust-analyzer 2023-02-13 13:55:14 +02:00
profile Use anonymous lifetime where possible 2023-06-29 23:27:28 +09:00
project-model More error context when failing to invoke the rust toolchain 2023-08-09 14:09:37 +02:00
rust-analyzer Fix pinned version of lsp-types 2023-08-09 20:06:08 +02:00
sourcegen Format let-else 2023-07-03 20:34:09 +02:00
stdx Bump more deps 2023-06-22 11:44:10 +02:00
syntax Auto merge of #15410 - alibektas:15240/invalid-demorgan, r=Veykril 2023-08-15 07:29:28 +00:00
test-utils Give real discriminant_type to chalk 2023-07-14 20:15:18 +03:30
text-edit Merge commit 'aa9bc8612514d216f84eec218dfd19ab83f3598a' into sync-from-ra 2023-06-05 12:04:23 +03:00
toolchain ⬆️ rust-analyzer 2023-03-13 10:42:24 +02:00
tt Auto merge of #15367 - Veykril:eager-macro-inputs, r=Veykril 2023-08-01 11:23:02 +00:00
vfs Upgrade to indexmap v2 2023-06-24 17:35:20 -07:00
vfs-notify Downgrade some deps to get rif of windows-sys duplication 2023-06-22 11:44:10 +02:00