rustdoc ICE with ConstEvalErr on array size location #47860
Labels
A-const-eval
Area: Constant evaluation, covers all const contexts (static, const fn, ...)
C-bug
Category: This is a bug.
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.
I have a crate that statically checks the size of a type by instantiating an invalid array if the types size is incorrect. Running
cargo doc
on the crate panics on the location of the array length expression.causes this error:
rustc --version --verbose
:backtrace:
The text was updated successfully, but these errors were encountered: