Error about drop in const fn
without any dropping happening
#60964
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.
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
The
take_inner
function won't ever evaluate a destructor. This is a bug inconst_qualif
I think(Playground)
Errors:
The text was updated successfully, but these errors were encountered: