fn report_unused_parameter(tcx: TyCtxt<'_>, span: Span, kind: &str, name: Symbol)