1
Fork 0

remove unused function argument

This commit is contained in:
lcnr 2022-07-01 13:36:49 +02:00
parent a5c6a48aee
commit c2ed08715b
4 changed files with 5 additions and 37 deletions

View file

@ -315,8 +315,6 @@ impl<'a, 'tcx> InferCtxt<'a, 'tcx> {
body_id: Option<hir::BodyId>,
failure_span: Span,
arg: GenericArg<'tcx>,
// FIXME(#94483): Either use this or remove it.
_impl_candidates: Vec<ty::TraitRef<'tcx>>,
error_code: TypeAnnotationNeeded,
should_label_span: bool,
) -> DiagnosticBuilder<'tcx, ErrorGuaranteed> {