diff options
author | bors[bot] <26634292+bors[bot]@users.noreply.github.com> | 2020-11-06 21:32:27 +0000 |
---|---|---|
committer | GitHub <[email protected]> | 2020-11-06 21:32:27 +0000 |
commit | cdddcaee851be1cff1eeb23599f5a58f1b30a927 (patch) | |
tree | 96067539ff813396bb2a320a2fa7efb7b51bc4a2 /crates/syntax/test_data/lexer | |
parent | fe13a4aeb1fd33aeda2d884b2691b23b0ca5daee (diff) | |
parent | 186431e178c04fed8744d81b834547700af46430 (diff) |
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 <[email protected]>
Diffstat (limited to 'crates/syntax/test_data/lexer')
0 files changed, 0 insertions, 0 deletions