Const generics: T
doesn't derive both PartialEq
and Eq
#70790
Labels
A-const-generics
Area: const generics (parameters and arguments)
A-diagnostics
Area: Messages for errors, warnings, and lints
C-bug
Category: This is a bug.
F-const_generics
`#![feature(const_generics)]`
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.
I tried this code:
This produces the following error on rustc 1.44.0-nightly:
I guess that const generics with a generic type isn't supported/allowed. If that's the case, this should be mentioned in the error message.
Meta
rustc --version --verbose
:The text was updated successfully, but these errors were encountered: