impl const
wrongly accepts impl with non-const provided methods
#79450
Labels
A-const-eval
Area: Constant evaluation (MIR interpretation)
A-const-fn
Area: const fn foo(..) {..}. Pure functions which can be applied at compile time.
C-bug
Category: This is a bug.
E-needs-test
Call for participation: An issue has been fixed and does not reproduce, but no test has been added.
F-const_trait_impl
`#![feature(const_trait_impl)]`
requires-nightly
This issue requires a nightly compiler in some way.
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
This prints no error, but
prov
is notconst
-safe, so theimpl const Tr
should not be accepted:The text was updated successfully, but these errors were encountered: