rust/crates
bors[bot] 112e53f10e
Merge #9500
9500: internal: Only inline closure, literal and local arguments when used once r=Veykril a=Veykril

See https://github.com/rust-analyzer/rust-analyzer/pull/9474#discussion_r663881507 for reasoning.

This still inlines single use closures and literals as naming these is usually not as useful. Prime examples being the Option/Result consuming functions like `map_or` etc.

Co-authored-by: Lukas Wirth <lukastw97@gmail.com>
2021-07-06 16:20:54 +00:00
..
base_db minor: drop dummy authors field 2021-07-05 14:19:41 +03:00
cfg minor: drop dummy authors field 2021-07-05 14:19:41 +03:00
flycheck minor: drop dummy authors field 2021-07-05 14:19:41 +03:00
hir minor: drop dummy authors field 2021-07-05 14:19:41 +03:00
hir_def Add a coverage mark 2021-07-05 17:06:16 +02:00
hir_expand minor: drop dummy authors field 2021-07-05 14:19:41 +03:00
hir_ty minor: drop dummy authors field 2021-07-05 14:19:41 +03:00
ide internal: ensure consistent passing for config params 2021-07-06 00:00:39 +03:00
ide_assists Merge #9500 2021-07-06 16:20:54 +00:00
ide_completion show 'as' or 'use' before label traits 2021-07-05 16:44:44 +04:30
ide_db Wrap inlined closures in parens when inlined in an expression in inline_call 2021-07-05 15:42:11 +02:00
ide_diagnostics minor: drop dummy authors field 2021-07-05 14:19:41 +03:00
ide_ssr minor: drop dummy authors field 2021-07-05 14:19:41 +03:00
mbe minor: drop dummy authors field 2021-07-05 14:19:41 +03:00
parser minor: drop dummy authors field 2021-07-05 14:19:41 +03:00
paths minor: drop dummy authors field 2021-07-05 14:19:41 +03:00
proc_macro_api minor: drop dummy authors field 2021-07-05 14:19:41 +03:00
proc_macro_srv minor: drop dummy authors field 2021-07-05 14:19:41 +03:00
proc_macro_test minor: drop dummy authors field 2021-07-05 14:19:41 +03:00
profile minor: drop dummy authors field 2021-07-05 14:19:41 +03:00
project_model minor: drop dummy authors field 2021-07-05 14:19:41 +03:00
rust-analyzer internal: ensure consistent passing for config params 2021-07-06 00:00:39 +03:00
sourcegen minor: drop dummy authors field 2021-07-05 14:19:41 +03:00
stdx minor: drop dummy authors field 2021-07-05 14:19:41 +03:00
syntax Update inline_call assist doc example 2021-07-05 14:24:25 +02:00
test_utils Update inline_call assist doc example 2021-07-05 14:24:25 +02:00
text_edit minor: drop dummy authors field 2021-07-05 14:19:41 +03:00
toolchain minor: drop dummy authors field 2021-07-05 14:19:41 +03:00
tt minor: drop dummy authors field 2021-07-05 14:19:41 +03:00
vfs minor: drop dummy authors field 2021-07-05 14:19:41 +03:00
vfs-notify minor: drop dummy authors field 2021-07-05 14:19:41 +03:00