clippy_utils

Function nth_arg

Source
pub fn nth_arg<'tcx>(
    cx: &LateContext<'tcx>,
    fn_def_id: OwnerId,
    nth: usize,
) -> Ty<'tcx>
Expand description

Convenience function to get the nth argument type of a function.