aboutsummaryrefslogtreecommitdiff
path: root/crates/hir_ty/src/tests/coercion.rs
diff options
context:
space:
mode:
authorbors[bot] <26634292+bors[bot]@users.noreply.github.com>2020-11-06 21:32:27 +0000
committerGitHub <[email protected]>2020-11-06 21:32:27 +0000
commitcdddcaee851be1cff1eeb23599f5a58f1b30a927 (patch)
tree96067539ff813396bb2a320a2fa7efb7b51bc4a2 /crates/hir_ty/src/tests/coercion.rs
parentfe13a4aeb1fd33aeda2d884b2691b23b0ca5daee (diff)
parent186431e178c04fed8744d81b834547700af46430 (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/hir_ty/src/tests/coercion.rs')
0 files changed, 0 insertions, 0 deletions