We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
derive(Eq)
1 parent 9a716da commit c8844e1Copy full SHA for c8844e1
tests/ui/const-generics/const_patam_ty_impl_bad_field.rs
@@ -1,9 +1,9 @@
1
#![feature(const_param_ty_trait)]
2
3
-#[derive(PartialEq)]
+#[derive(PartialEq, Eq)]
4
struct NotParam;
5
6
7
struct CantParam(NotParam);
8
9
impl std::marker::ConstParamTy for CantParam {}
0 commit comments