rust/crates
Dorian Scheidt 21062f9201 fix: Improve suggested names for extracted variables
When extracting a field expression, if RA was unable to resolve the type of the
field, we would previously fall back to using "var_name" as the variable name.

Now, when the `Expr` being extracted matches a `FieldExpr`, we can use the
`NameRef`'s ident token as a fallback option.

fixes #10035
2022-07-08 18:35:04 -05:00
..
base-db Update remaining GitHub URLs 2022-07-08 15:44:49 +02:00
cfg internal: Bump Dependencies 2022-06-10 17:30:02 +02:00
flycheck Bump cargo_metadata 2022-07-03 10:09:35 +03:00
hir Handle generic args per arg index 2022-07-07 00:45:22 +08:00
hir-def Auto merge of #12719 - davidlattimore:format-args-no-unsafe, r=jonas-schievink 2022-07-08 14:10:19 +00:00
hir-expand Auto merge of #12719 - davidlattimore:format-args-no-unsafe, r=jonas-schievink 2022-07-08 14:10:19 +00:00
hir-ty Update remaining GitHub URLs 2022-07-08 15:44:49 +02:00
ide Update remaining GitHub URLs 2022-07-08 15:44:49 +02:00
ide-assists fix: Improve suggested names for extracted variables 2022-07-08 18:35:04 -05:00
ide-completion Update remaining GitHub URLs 2022-07-08 15:44:49 +02:00
ide-db Update remaining GitHub URLs 2022-07-08 15:44:49 +02:00
ide-diagnostics Update remaining GitHub URLs 2022-07-08 15:44:49 +02:00
ide-ssr internal: Bump Dependencies 2022-06-10 17:30:02 +02:00
limit Use compare_exchange_weak in limit::Limit::check 2022-01-28 18:19:35 +03:00
mbe Bump smallvec 2022-07-03 10:09:35 +03:00
parser Update remaining GitHub URLs 2022-07-08 15:44:49 +02:00
paths Bump MSRV (1.57) 2021-12-16 01:56:12 +05:00
proc-macro-api Update remaining GitHub URLs 2022-07-08 15:44:49 +02:00
proc-macro-srv Bump object 2022-07-03 10:14:48 +03:00
proc-macro-test Bump cargo_metadata 2022-07-03 10:09:35 +03:00
profile Update remaining GitHub URLs 2022-07-08 15:44:49 +02:00
project-model Update remaining GitHub URLs 2022-07-08 15:44:49 +02:00
rust-analyzer Update remaining GitHub URLs 2022-07-08 15:44:49 +02:00
sourcegen Update remaining GitHub URLs 2022-07-08 15:44:49 +02:00
stdx Polish 2022-06-15 18:35:48 +02:00
syntax Update remaining GitHub URLs 2022-07-08 15:44:49 +02:00
test-utils internal: Bump Dependencies 2022-06-10 17:30:02 +02:00
text-edit style: rename crates to kebab case 2022-05-01 10:48:58 +00:00
toolchain Bump MSRV (1.57) 2021-12-16 01:56:12 +05:00
tt internal: Bump Dependencies 2022-06-10 17:30:02 +02:00
vfs Bump indexmap 2022-07-03 10:09:35 +03:00
vfs-notify Bump crossbeam-channel 2022-07-03 09:56:58 +03:00