Skip to content

nightly rustdoc reaches recursion limit while beta works fine #79506

Closed
@tspiteri

Description

@tspiteri

For the fixed crate (which uses typenum),

cargo +nightly doc --no-deps

fails with error[E0275]: overflow evaluating the requirement.

Stable and beta work. Building with cargo +nightly build also works.

I also tried the suggestion help: consider adding a `#![recursion_limit="256"]` attribute to your crate (`fixed`). But it did not help, and if I keep on increasing the limit, finally I get (signal: 6, SIGABRT: process abort signal).

Meta

rustc +nightly --version --verbose:

rustc 1.50.0-nightly (6a889570e 2020-11-27)
binary: rustc
commit-hash: 6a889570e46c03d7b156ec08f3f4cb4d145924a3
commit-date: 2020-11-27
host: x86_64-unknown-linux-gnu
release: 1.50.0-nightly

Metadata

Metadata

Assignees

No one assigned

    Labels

    -Znormalize-docsUnstable rustdoc option: Normalize/evaluate types when generating docsC-bugCategory: This is a bug.T-rustdocRelevant to the rustdoc team, which will review and decide on the PR/issue.regression-from-stable-to-nightlyPerformance or correctness regression from stable to nightly.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions