Function clippy_utils::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.
pub fn nth_arg<'tcx>(
cx: &LateContext<'tcx>,
fn_def_id: OwnerId,
nth: usize,
) -> Ty<'tcx>
Convenience function to get the nth argument type of a function.