We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 11ae334 commit 7301cd7Copy full SHA for 7301cd7
compiler/rustc_infer/src/infer/combine.rs
@@ -548,8 +548,7 @@ impl<'tcx> TypeRelation<'tcx> for Generalizer<'_, 'tcx> {
548
}
549
550
fn mark_ambiguous(&mut self) {
551
- // The generalizer always compares types against themselves,
552
- // and thus doesn't really take part in coherence.
+ self.infcx.tcx.sess.delay_span_bug(self.cause.span, "opaque types are handled in `tys`");
553
554
555
fn binders<T>(
0 commit comments