diff options
| author | Nicholas Nethercote <n.nethercote@gmail.com> | 2024-05-09 16:33:26 +1000 |
|---|---|---|
| committer | Nicholas Nethercote <n.nethercote@gmail.com> | 2024-05-10 09:55:09 +1000 |
| commit | 24445d3b6a0e89b211c564d29e12e9cca09a9580 (patch) | |
| tree | 6832d4888a24789f953219fdc6384f4fa131c008 /compiler/rustc_trait_selection | |
| parent | d13612bce75ead7509a45356fe6ffcdcc14f3055 (diff) | |
| download | rust-24445d3b6a0e89b211c564d29e12e9cca09a9580.tar.gz rust-24445d3b6a0e89b211c564d29e12e9cca09a9580.zip | |
Remove out-of-date comment.
The use of `Binder` was removed in the recent #123900, but the comment wasn't removed at the same time.
Diffstat (limited to 'compiler/rustc_trait_selection')
| -rw-r--r-- | compiler/rustc_trait_selection/src/traits/error_reporting/type_err_ctxt_ext.rs | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/compiler/rustc_trait_selection/src/traits/error_reporting/type_err_ctxt_ext.rs b/compiler/rustc_trait_selection/src/traits/error_reporting/type_err_ctxt_ext.rs index e50cb2af4b8..1f079c6f2e1 100644 --- a/compiler/rustc_trait_selection/src/traits/error_reporting/type_err_ctxt_ext.rs +++ b/compiler/rustc_trait_selection/src/traits/error_reporting/type_err_ctxt_ext.rs @@ -3443,8 +3443,6 @@ impl<'tcx> TypeErrCtxt<'_, 'tcx> { self.dcx().try_steal_replace_and_emit_err(self.tcx.def_span(def_id), StashKey::Cycle, err) } - // FIXME(@lcnr): This function could be changed to trait `TraitRef` directly - // instead of using a `Binder`. fn report_signature_mismatch_error( &self, obligation: &PredicateObligation<'tcx>, |
