rustdoc hangs on recursive associated types #139964
Labels
A-auto-traits
Area: auto traits (e.g., `auto trait Send {}`)
A-synthetic-impls
Area: Synthetic impls, used by rustdoc to document auto traits and traits with blanket impls
A-trait-system
Area: Trait system
C-bug
Category: This is a bug.
fixed-by-next-solver
Fixed by the next-generation trait solver, `-Znext-solver`.
I-hang
Issue: The compiler never terminates, due to infinite loops, deadlock, livelock, etc.
T-rustdoc
Relevant to the rustdoc team, which will review and decide on the PR/issue.
I tried this code:
This code compiles fine with
cargo build
. However, runningcargo doc
causes it to hang.Likely related to rust-lang/rust-clippy#13544 and #133356
Discovered by super_surviveur on the rust official discord.
Meta
rustc --version --verbose
:@rustbot labels +T-rustdoc +I-hang
The text was updated successfully, but these errors were encountered: