Skip to content

Commit c8844e1

Browse files
committed
derive(Eq) in a test
1 parent 9a716da commit c8844e1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/ui/const-generics/const_patam_ty_impl_bad_field.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
#![feature(const_param_ty_trait)]
22

3-
#[derive(PartialEq)]
3+
#[derive(PartialEq, Eq)]
44
struct NotParam;
55

6-
#[derive(PartialEq)]
6+
#[derive(PartialEq, Eq)]
77
struct CantParam(NotParam);
88

99
impl std::marker::ConstParamTy for CantParam {}

0 commit comments

Comments
 (0)