struct containing array of size given in Self and slice causes compiler panic #63838
Labels
A-associated-items
Area: Associated items (types, constants & functions)
A-borrow-checker
Area: The borrow checker
A-NLL
Area: Non-lexical lifetimes (NLL)
C-bug
Category: This is a bug.
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.
A struct containing an array and a reference to a slice causes the compiler to panic if the array size is defined in the impl block.
The issue also occurs for smaller array sizes.
Backtrace for Playground:
The text was updated successfully, but these errors were encountered: