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 6bdb8a4 commit 9f05da7Copy full SHA for 9f05da7
compiler/rustc_infer/src/infer/relate/generalize.rs
@@ -404,9 +404,9 @@ impl<'tcx> TypeRelation<'tcx> for Generalizer<'_, 'tcx> {
404
debug!(?self.ambient_variance, "new ambient variance");
405
// Recursive calls to `relate` can overflow the stack. For example a deeper version of
406
// `ui/associated-consts/issue-93775.rs`.
407
- let r = ensure_sufficient_stack(|| self.relate(a, b))?;
+ let r = ensure_sufficient_stack(|| self.relate(a, b));
408
self.ambient_variance = old_ambient_variance;
409
- Ok(r)
+ r
410
}
411
412
#[instrument(level = "debug", skip(self, t2), ret)]
0 commit comments