Passing a non-const
trait function item value to a const fn
is no longer allowed in a constant context
#104155
Labels
C-bug
Category: This is a bug.
P-critical
Critical priority
regression-from-stable-to-beta
Performance or correctness regression from stable to beta.
Code
I tried this code:
(Playground)
I expected to see this happen: Successful compilation
Instead, this happened:
Version it worked on
It most recently worked on: 1.65.0
Version with regression
rustc --version --verbose
:@rustbot modify labels: +regression-from-stable-to-beta -regression-untriaged
The text was updated successfully, but these errors were encountered: