Metadata
Metadata
Assignees
Labels
Area: Constant evaluation, covers all const contexts (static, const fn, ...)Category: This is a bug.Call for participation: An issue has been fixed and does not reproduce, but no test has been added.`#![feature(const_trait_impl)]`Relevant to the compiler team, which will review and decide on the PR/issue.This issue requires a nightly compiler in some way.
Activity
oli-obk commentedon Nov 27, 2020
I guess for
impl const
blocks we need to enforce that no defaulted fallbacks are used at all. This is discussed a bit in the RFC, but for now we should just disallow this entirelyimpl const Trait for Ty
and~const
(tilde const) syntax (const_trait_impl
) #67792Auto merge of rust-lang#86571 - fee1-dead:const-trait-impl-fix, r=jac…
kadiwa4 commentedon Jul 25, 2022
This issue applies again, it seems that the part of the test that checked this was removed in #96964.
Or is this intentionally accepted without an error now?
kadiwa4 commentedon Dec 2, 2022
This has been fixed again (https://play.rust-lang.org/?version=nightly&mode=debug&edition=2021&gist=aea283ceefe384376052b1cde86373cb)
7 remaining items