derive(Eq)
in a test
This commit is contained in:
parent
9a716dafbe
commit
c8844e1337
1 changed files with 2 additions and 2 deletions
|
@ -1,9 +1,9 @@
|
||||||
#![feature(const_param_ty_trait)]
|
#![feature(const_param_ty_trait)]
|
||||||
|
|
||||||
#[derive(PartialEq)]
|
#[derive(PartialEq, Eq)]
|
||||||
struct NotParam;
|
struct NotParam;
|
||||||
|
|
||||||
#[derive(PartialEq)]
|
#[derive(PartialEq, Eq)]
|
||||||
struct CantParam(NotParam);
|
struct CantParam(NotParam);
|
||||||
|
|
||||||
impl std::marker::ConstParamTy for CantParam {}
|
impl std::marker::ConstParamTy for CantParam {}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue