Call to const trait methods in const functions no longer allowed #114808
Labels
C-bug
Category: This is a bug.
F-const_trait_impl
`#![feature(const_trait_impl)]`
requires-nightly
This issue requires a nightly compiler in some way.
Code
I tried this code:
Version it worked on
It compiled successfully on nightly 2023-07-31, it may succeed on later versions.
Version with regression
It failed to compile on nightly 2023-08-13 with:
The text was updated successfully, but these errors were encountered: