rust/crates
bors f6bffa4dd3 Auto merge of #15345 - lowr:fix/add_missing_match_arms-upmap-failure, r=Veykril
Don't provide `add_missing_match_arms` assist when upmapping match arm list failed

Fixes #15310

We shouldn't provide the assist when we fail to find the original match arm list.

Note that this PR will temporarily make the assist not applicable when attribute macro operates on the match expression in question, just like the case in #15310, for most of the current stable toolchain users. This is because the sysroot-abi proc-macro-srv on the current stable [discards] spans for `Group` delimiters in some code paths, which the popular `proc-macro2` crate almost always calls, and it makes the identity of match arm list's brackets lost, leading to the upmapping failure. This has been fixed by #14960, which will land in the next stable, 1.71.

[discards]: 8ede3aae28/src/tools/rust-analyzer/crates/proc-macro-srv/src/abis/abi_sysroot/ra_server.rs (L231)
2023-08-01 08:58:43 +00:00
..
base-db implement type_name intrinsic 2023-07-14 16:52:36 +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 #15320 - lowr:fix/incorrect-name-case-for-inner-items, r=HKalbasi 2023-07-21 06:41:30 +00:00
hir-def Auto merge of #15361 - Veykril:eager-macro-inputs, r=Veykril 2023-07-31 14:24:29 +00:00
hir-expand fix: Remove another faulty unwrap (expect) 2023-07-31 16:47:45 +02:00
hir-ty Support Self in mir lowering 2023-07-30 23:05:10 +03:30
ide Add comments for why skip highlighting for invalid char/byte literals 2023-07-23 04:24:35 +08:00
ide-assists Auto merge of #15345 - lowr:fix/add_missing_match_arms-upmap-failure, r=Veykril 2023-08-01 08:58:43 +00:00
ide-completion Replace x with it 2023-07-06 17:33:17 +03:30
ide-db Fix the eager token maps by re-mapping the textranges between the input and input expansion 2023-07-13 09:22:38 +02:00
ide-diagnostics fix: Expand eager macros to delimited comma separated expression list 2023-07-30 17:31:26 +02:00
ide-ssr Use anonymous lifetime where possible 2023-06-29 23:27:28 +09: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 Fixup path fragments upon MBE transcription 2023-07-30 23:36:42 +09:00
parser fix: Expand eager macros to delimited comma separated expression list 2023-07-30 17:31:26 +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
profile Use anonymous lifetime where possible 2023-06-29 23:27:28 +09:00
project-model Optimize DepKindInfo -> DepKind conversion 2023-07-21 17:10:42 +09:00
rust-analyzer Write proc-macro server spawn errors to the status text 2023-07-30 14:38:25 +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 fix: Expand eager macros to delimited comma separated expression list 2023-07-30 17:31:26 +02: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
tt Auto merge of #15345 - lowr:fix/add_missing_match_arms-upmap-failure, r=Veykril 2023-08-01 08:58:43 +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