Function clippy_lints::utils::return_ty [] [src]

pub fn return_ty<'a, 'tcx>(cx: &LateContext<'a, 'tcx>,
                           fn_item: NodeId)
                           -> Ty<'tcx>

Convenience function to get the return type of a function