Constant trait implementations are not considered as constant function sometimes. (const_trait_impl feature) #114677
Labels
C-bug
Category: This is a bug.
F-const_trait_impl
`#![feature(const_trait_impl)]`
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
I tried this code:
I expected to see this happen: it compiles without an error.
Instead, this happened:
rustc --version --verbose
:The text was updated successfully, but these errors were encountered: