rustdoc: ICE: synthetic auto trait impls: unexpected result when selecting […]
involving unsatisfied bounds, projections and super trait bounds
#114657
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
C-bug
Category: This is a bug.
E-needs-test
Call for participation: An issue has been fixed and does not reproduce, but no test has been added.
I-ICE
Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
T-rustdoc
Relevant to the rustdoc team, which will review and decide on the PR/issue.
Code
This is the least I've managed to reduce the code:
Meta
rustc --version --verbose
:With nightly version
the compiler asks me to change the
Structure
as follows:and now the error no longer occurs.
Error output
After running the
cargo doc
command, I get the following:Backtrace
Output seems the same
The text was updated successfully, but these errors were encountered: