Skip to content

1.98 beta rustdoc regression: "reached the configured maximum number of stack frames" #159477

Description

@theemathas

This regression was found by the 1.98 beta rustdoc crater run.

[INFO] [stdout] error[E0080]: reached the configured maximum number of stack frames
[INFO] [stdout]  --> /rustc/6b3fa26749ab40e159b2dd5cf577acaaf5902772/library/core/src/fmt/num_buffer.rs:26:45
[INFO] [stdout]   |
[INFO] [stdout]   = note: evaluation of `<usize as core::fmt::NumBufferTrait>::Buf::{constant#0}` failed inside this call
[INFO] [stdout]  ::: /rustc/6b3fa26749ab40e159b2dd5cf577acaaf5902772/library/core/src/fmt/num_buffer.rs:39:1
[INFO] [stdout]   |
[INFO] [stdout]   = note: in this macro invocation
[INFO] [stdout] note: inside `core::num::<impl usize>::checked_ilog10`
[INFO] [stdout]  --> /rustc/6b3fa26749ab40e159b2dd5cf577acaaf5902772/library/core/src/num/uint_macros.rs:1914:32
[INFO] [stdout]  --> /rustc/6b3fa26749ab40e159b2dd5cf577acaaf5902772/library/core/src/num/mod.rs:1449:4
[INFO] [stdout]  ::: /rustc/6b3fa26749ab40e159b2dd5cf577acaaf5902772/library/core/src/num/mod.rs:1473:5
[INFO] [stdout]   |
[INFO] [stdout]   = note: in this macro invocation
[INFO] [stdout] note: inside `core::num::NonZero::<usize>::ilog10`
[INFO] [stdout]  --> /rustc/6b3fa26749ab40e159b2dd5cf577acaaf5902772/library/core/src/num/nonzero.rs:1818:12
[INFO] [stdout]  ::: /rustc/6b3fa26749ab40e159b2dd5cf577acaaf5902772/library/core/src/num/nonzero.rs:2506:1
[INFO] [stdout]   |
[INFO] [stdout]   = note: in this macro invocation
[INFO] [stdout] note: inside `core::num::imp::int_log10::usize`
[INFO] [stdout]  --> /rustc/6b3fa26749ab40e159b2dd5cf577acaaf5902772/library/core/src/num/imp/int_log10.rs:132:4
[INFO] [stdout] note: inside `core::num::imp::int_log10::u64`
[INFO] [stdout]  --> /rustc/6b3fa26749ab40e159b2dd5cf577acaaf5902772/library/core/src/num/imp/int_log10.rs:104:21
[INFO] [stdout]  ::: /rustc/6b3fa26749ab40e159b2dd5cf577acaaf5902772/library/core/src/num/imp/int_log10.rs:117:1
[INFO] [stdout]   |
[INFO] [stdout]   = note: in this macro invocation
[INFO] [stdout] note: inside `core::ub_checks::check_language_ub`
[INFO] [stdout]  --> /rustc/6b3fa26749ab40e159b2dd5cf577acaaf5902772/library/core/src/intrinsics/mod.rs:2458:8
[INFO] [stdout]  --> /rustc/6b3fa26749ab40e159b2dd5cf577acaaf5902772/library/core/src/ub_checks.rs:98:4
[INFO] [stdout]  ::: /rustc/6b3fa26749ab40e159b2dd5cf577acaaf5902772/library/core/src/ub_checks.rs:107:5
[INFO] [stdout]   |
[INFO] [stdout]   = note: in this macro invocation
[INFO] [stdout]   = note: this error originates in the macro `impl_NumBufferTrait` which comes from the expansion of the macro `const_eval_select` (in Nightly builds, run with -Z macro-backtrace for more info)

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-const-evalArea: Constant evaluation, covers all const contexts (static, const fn, ...)A-macrosArea: All kinds of macros (custom derive, macro_rules!, proc macros, ..)C-bugCategory: This is a bug.S-has-bisectionStatus: A bisection has been found for this issueS-has-mcveStatus: A Minimal Complete and Verifiable Example has been found for this issueT-compilerRelevant to the compiler team, which will review and decide on the PR/issue.T-libsRelevant to the library team, which will review and decide on the PR/issue.T-rustdocRelevant to the rustdoc team, which will review and decide on the PR/issue.regression-from-stable-to-betaPerformance or correctness regression from stable to beta.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions