We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f1551bf commit 003ed76Copy full SHA for 003ed76
compiler/rustc_trait_selection/src/traits/error_reporting/mod.rs
@@ -2146,15 +2146,15 @@ impl<'tcx> InferCtxtPrivExt<'tcx> for TypeErrCtxt<'_, 'tcx> {
2146
self.annotate_source_of_ambiguity(&mut err, &impls, predicate);
2147
} else {
2148
if self.is_tainted_by_errors() {
2149
- err.cancel();
+ err.delay_as_bug();
2150
return;
2151
}
2152
err.note(&format!("cannot satisfy `{}`", predicate));
2153
2154
2155
_ => {
2156
2157
2158
2159
2160
0 commit comments