diff options
| author | lcnr <rust@lcnr.de> | 2022-07-01 13:36:49 +0200 |
|---|---|---|
| committer | lcnr <rust@lcnr.de> | 2022-07-04 13:58:28 +0200 |
| commit | c2ed08715b2f6b946089ccf967d18e70bb04ea39 (patch) | |
| tree | 6823a9f1b03cf31033dcc3b636f6814cc891503d /compiler/rustc_infer/src | |
| parent | a5c6a48aee84215a9200dfa1c4c6ad88f5721f56 (diff) | |
| download | rust-c2ed08715b2f6b946089ccf967d18e70bb04ea39.tar.gz rust-c2ed08715b2f6b946089ccf967d18e70bb04ea39.zip | |
remove unused function argument
Diffstat (limited to 'compiler/rustc_infer/src')
| -rw-r--r-- | compiler/rustc_infer/src/infer/error_reporting/need_type_info.rs | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/compiler/rustc_infer/src/infer/error_reporting/need_type_info.rs b/compiler/rustc_infer/src/infer/error_reporting/need_type_info.rs index 07dcf3876c8..33ce43cd559 100644 --- a/compiler/rustc_infer/src/infer/error_reporting/need_type_info.rs +++ b/compiler/rustc_infer/src/infer/error_reporting/need_type_info.rs @@ -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> { |
