min_specialization
does not allow specializing on ~const
trait bounds
#95186
Labels
A-specialization
Area: Trait impl specialization
A-traits
Area: Trait system
C-bug
Category: This is a bug.
F-const_trait_impl
`#![feature(const_trait_impl)]`
F-specialization
`#![feature(specialization)]`
requires-nightly
This issue requires a nightly compiler in some way.
Given the following code (playground):
The following error is produced:
What I expect is that the compilation succeeds, as it does without the const trait impl and corresponding
~const
trait bound (playground):@rustbot label +F-const_trait_impl +F-specialization +A-specialization +A-traits
The text was updated successfully, but these errors were encountered: