temporary value dropped while borrowed #132578
Labels
C-bug
Category: This is a bug.
regression-from-stable-to-stable
Performance or correctness regression from one stable version to another.
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
WG-const-eval
Working group: Const evaluation
Code
I tried this code:
I expected to see this happen: compiles
Instead, this happened: fails to compile with the following error:
Version it worked on
It most recently worked on: 1.78.0
Version with regression
rustc --version --verbose
:@rustbot modify labels: +regression-from-stable-to-stable -regression-untriaged
The text was updated successfully, but these errors were encountered: