aboutsummaryrefslogtreecommitdiff
path: root/crates/hir_ty/src/diagnostics/decl_check/case_conv.rs
diff options
context:
space:
mode:
authorArnaud <[email protected]>2021-01-04 17:58:42 +0000
committerArnaud <[email protected]>2021-01-04 18:14:44 +0000
commita6dc7cf36de40f6b2a5b1dfee86430848f94ce42 (patch)
treeca9c21a110a7723761ad4807000beb96dc122766 /crates/hir_ty/src/diagnostics/decl_check/case_conv.rs
parent0708bfeb7270923be5a2059ad5b99de183e667ba (diff)
Make it possible to retrieve `hir::Function`'s return type
This is done by adding a `ret_type` method to `hir::Function`. I followed `assoc_fn_params` convention by creating a new `RetType` type, that contains the actual return type accessible via a `ty` method.
Diffstat (limited to 'crates/hir_ty/src/diagnostics/decl_check/case_conv.rs')
0 files changed, 0 insertions, 0 deletions