regression: destructor of [MaybeUninit<T>; N]
cannot be evaluated at compile-time
#115410
Labels
A-const-eval
Area: Constant evaluation, covers all const contexts (static, const fn, ...)
A-destructors
Area: Destructors (`Drop`, …)
C-bug
Category: This is a bug.
P-high
High priority
regression-from-stable-to-beta
Performance or correctness regression from stable to beta.
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
Code
I tried this code:
I expected it to compile successfully. Instead, this happened:
Version it worked on
It most recently worked on 1.72
Version with regression
Regressed in aafd75a cc @fee1-dead @oli-obk
Originally reported in #115403 (comment) cc @itsxaos
@rustbot modify labels: +regression-from-stable-to-beta -regression-untriaged
The text was updated successfully, but these errors were encountered: