Function clippy_utils::return_ty
source · pub fn return_ty<'tcx>(cx: &LateContext<'tcx>, fn_item: HirId) -> Ty<'tcx>
Expand description
Convenience function to get the return type of a function.
pub fn return_ty<'tcx>(cx: &LateContext<'tcx>, fn_item: HirId) -> Ty<'tcx>
Convenience function to get the return type of a function.