rust/crates
bors[bot] cdddcaee85
Merge #6477
6477: Add infer_function_return_type assist r=matklad a=Veykril

This adds an assist to insert a functions return type if it hasn't been specified yet by inferring it from the functions tail expression. This assist only becomes active if the cursor is on the tail expression. See https://github.com/rust-analyzer/rust-analyzer/issues/6303#issuecomment-714657326

Co-authored-by: Lukas Wirth <lukastw97@gmail.com>
2020-11-06 21:32:27 +00:00
..
arena Add TBD description to arena 2020-08-24 13:29:10 +02:00
assists Merge #6477 2020-11-06 21:32:27 +00:00
base_db Feedback. 2020-11-02 10:57:31 -07:00
cfg cfg: move tests to separate file 2020-10-23 12:14:58 +02:00
completion Remove intra-crate facade from completions 2020-11-03 10:36:01 +03:00
flycheck Update crates 2020-10-20 17:36:02 -04:00
hir Remove more unreachable pubs 2020-11-02 16:58:33 +01:00
hir_def Don't stack overflow on circular modules 2020-11-04 15:31:35 +01:00
hir_expand Remove more unreachable pubs 2020-11-02 16:58:33 +01:00
hir_ty Improve decl_check module readability 2020-11-03 10:13:49 +03:00
ide Support struct variants in extract_struct_from_enum_variant 2020-11-03 20:57:04 +01:00
ide_db Merge #6331 #6342 2020-10-24 19:08:12 +00:00
mbe Remove more unreachable pubs 2020-11-02 16:58:33 +01:00
parser Don't interpret type path as part of visibility. 2020-10-24 02:20:45 -04:00
paths Add description for crates that will be published 2020-08-24 13:07:22 +02:00
proc_macro_api Deny unreachable-pub 2020-11-02 14:07:08 +01:00
proc_macro_srv Deny unreachable-pub 2020-11-02 14:07:08 +01:00
proc_macro_test Add description for crates that will be published 2020-08-24 13:07:22 +02:00
profile Deny unreachable-pub 2020-11-02 14:07:08 +01:00
project_model Ignore RUST_SRC_PATH if it is set to invalid value 2020-11-06 11:30:57 +01:00
rust-analyzer Fix coalescing of prime_caches updates 2020-11-02 18:49:54 +01:00
ssr Remove more unreachable pubs 2020-11-02 16:58:33 +01:00
stdx Fix panic context 2020-10-23 15:18:33 +02:00
syntax Minor, cleanup style 2020-11-06 21:09:37 +01:00
test_utils Feedback. 2020-11-02 10:57:31 -07:00
text_edit Actually assert disjointness 2020-09-03 13:37:36 +02:00
toolchain Add description for crates that will be published 2020-08-24 13:07:22 +02:00
tt Add description for crates that will be published 2020-08-24 13:07:22 +02:00
vfs Remove more unreachable pubs 2020-11-02 16:58:33 +01:00
vfs-notify Follow symlinks when walking project trees 2020-10-15 14:22:36 -04:00