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.
2 parents 450e99f + 36faf8f commit c07a8b4Copy full SHA for c07a8b4
compiler/rustc_trait_selection/src/traits/project.rs
@@ -557,7 +557,10 @@ impl<'a, 'b, 'tcx> TypeFolder<'tcx> for AssocTypeNormalizer<'a, 'b, 'tcx> {
557
// For cases like #95134 we would like to catch overflows early
558
// otherwise they slip away away and cause ICE.
559
let recursion_limit = self.tcx().recursion_limit();
560
- if !recursion_limit.value_within_limit(self.depth) {
+ if !recursion_limit.value_within_limit(self.depth)
561
+ // HACK: Don't overflow when running cargo doc see #100991
562
+ && !self.tcx().sess.opts.actually_rustdoc
563
+ {
564
let obligation = Obligation::with_depth(
565
self.cause.clone(),
566
recursion_limit.0,
AltStyle によって変換されたページ (->オリジナル) / アドレス: モード: デフォルト 音声ブラウザ ルビ付き 配色反転 文字拡大 モバイル
0 commit comments