impl const B
only needs impl A
for trait B: A
#86742
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.
From #86571 (comment).
I tried this code (playground):
I expected to see this happen: The compiler might error because
Foo
does notimpl const A
Instead, this happened: This code has no compiler errors.
This is for discussion. I am neither for nor against how this is handled currently.
@rustbot label requires-nightly F-const_trait_impl
The text was updated successfully, but these errors were encountered: