ICE in Layout::compute with const cycle #44415
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.
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
This is a slightly modified version of the
compile-fail/const-size_of-cycle
test, adding a field at the end of the struct.It ends up in the following ICE. The "unsupported cyclic reference between types/traits detected" error is expected.
The text was updated successfully, but these errors were encountered: