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.
This commit is contained in:
Nicholas Nethercote 2024-05-09 16:33:26 +10:00
parent d13612bce7
commit 24445d3b6a

View File

@ -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>,