rust-analyzer/crates
bors afe8f6b922 Auto merge of #13379 - DropDemBits:ide-assists-format-args-capture, r=Veykril
internal: Migrate `ide_assists::utils` and `ide_assists::handlers` to use format arg captures (part 1)

This not only serves as making future migration to mutable syntax trees easier, it also finds out what needs to be migrated in the first place.

~~Aside from the first commit, subsequent commits are structured to only deal with one file/handler at a time.~~

This is the first of 3 PRs, migrating:

Utils:

- `gen_trait_fn_body`
- `render_snippet`
- `ReferenceConversion`
  - `convert_type`
  - `getter`

Handlers:

- `add_explicit_type`
- `add_return_type`
- `add_turbo_fish`
- `apply_demorgan`
- `auto_import`
- `convert_comment_block`
- `convert_integer_literal`
- `convert_into_to_from`
- `convert_iter_for_each_to_for`
- `convert_let_else_to_match`
- `convert_tuple_struct_to_named_struct`
- `convert_two_arm_bool_match_to_matches_macro`
- `destructure_tuple_binding`
- `extract_function`
- `extract_module`
- `extract_struct_from_enum_variant`
- `extract_type_alias`
- `extract_variable`
- `fix_visibility`
2022-11-05 12:29:06 +00:00
..
base-db formatting 2022-09-26 18:35:06 +01:00
cfg Bump anyhow, arbitrary, itertools, semver, serde 2022-10-15 12:52:34 +03:00
flycheck fix: Fix standard flycheck command not being executed in the workspace it is being invoked for 2022-10-24 16:07:42 +02:00
hir Revert "Record diverging match arms in InferenceResult" 2022-11-01 17:18:17 +01:00
hir-def Lower unsafety of fn pointer and fn item types 2022-11-04 21:07:15 +01:00
hir-expand Support const generics for builtin derive macro 2022-10-23 00:05:22 +09:00
hir-ty Lower unsafety of fn pointer and fn item types 2022-11-04 21:07:15 +01:00
ide fix: Fix reference searching only accounting substrings instead of whole identifiers 2022-11-05 13:00:02 +01:00
ide-assists Auto merge of #13379 - DropDemBits:ide-assists-format-args-capture, r=Veykril 2022-11-05 12:29:06 +00:00
ide-completion fix: make custom expr prefix completions to understand refs 2022-10-30 15:02:17 +05:30
ide-db fix: Fix reference searching only accounting substrings instead of whole identifiers 2022-11-05 13:00:02 +01:00
ide-diagnostics Revert "feat: Diagnose some incorrect usages of the question mark operator" 2022-10-18 14:18:59 +02:00
ide-ssr Bump anyhow, arbitrary, itertools, semver, serde 2022-10-15 12:52:34 +03:00
limit Properly cfg the max field of Limit 2022-07-31 19:27:20 +02:00
mbe Auto merge of #13418 - lnicola:bump-deps, r=lnicola 2022-10-15 11:27:12 +00:00
parser Auto merge of #13160 - ChayimFriedman2:parse-parenthesized-type-path-with-coloncolon, r=jonas-schievink 2022-09-01 21:00:14 +00:00
paths Auto merge of #12808 - Veykril:check-workspace, r=Veykril 2022-08-04 12:57:04 +00:00
proc-macro-api Bump tracing 2022-10-15 12:52:34 +03:00
proc-macro-srv Don't run proc-macro-srv tests on the rust-analyzer repo 2022-09-24 00:08:28 +02:00
proc-macro-srv-cli Gate and rename binary, use it if it's in the sysroot 2022-07-25 16:22:39 +02:00
proc-macro-test revert nightly rustfmt formatting that accidentally slipped in 2022-07-25 14:18:30 +02:00
profile Bump libc 2022-10-15 12:55:56 +03:00
project-model Handle multiple projects sharing dependency correctly in once strategy 2022-10-23 18:01:35 +02:00
rust-analyzer Auto merge of #13456 - emilio:scip-local-symbol, r=Veykril 2022-11-03 13:58:36 +00:00
sourcegen Remove obsolete in-rust-tree feature from sourcegen 2022-09-26 11:34:30 +02:00
stdx Bump libc 2022-10-15 12:55:56 +03:00
syntax Use let-else statements in Convert to guarded return assist 2022-11-01 23:02:10 +00:00
test-utils Revert "feat: Diagnose some incorrect usages of the question mark operator" 2022-10-18 14:18:59 +02:00
text-edit Bump anyhow, arbitrary, itertools, semver, serde 2022-10-15 12:52:34 +03:00
toolchain Bump home 2022-10-15 12:53:26 +03:00
tt Run cargo fix --edition-idioms 2022-07-20 15:02:08 +02:00
vfs Make use of NoHash hashing for FileId and CrateId 2022-08-25 20:41:49 +02:00
vfs-notify Bump notify 2022-10-15 13:03:39 +03:00