clippy_utils

Function return_ty

source
pub fn return_ty<'tcx>(cx: &LateContext<'tcx>, fn_def_id: OwnerId) -> Ty<'tcx>
Expand description

Convenience function to get the return type of a function.