ICE when generating docs with generic_const_exprs
feature
#92859
Labels
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.
F-generic_const_exprs
`#![feature(generic_const_exprs)]`
I-ICE
Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️
T-rustdoc
Relevant to the rustdoc team, which will review and decide on the PR/issue.
With the experimental
generic_const_exprs
feature (#76560), there's a compiler issue that surfaces during documentation generation but not a regular build. In the code example below,cargo build
produces an unhelpful error message.Code
Meta
rustc --version --verbose
:Error output
The error on running
cargo +nightly doc
is:Backtrace
The text was updated successfully, but these errors were encountered: