mirror of
https://github.com/rust-lang/rust.git
synced 2025-05-14 02:49:40 +00:00
derive(Eq)
in a test
This commit is contained in:
parent
9a716dafbe
commit
c8844e1337
@ -1,9 +1,9 @@
|
||||
#![feature(const_param_ty_trait)]
|
||||
|
||||
#[derive(PartialEq)]
|
||||
#[derive(PartialEq, Eq)]
|
||||
struct NotParam;
|
||||
|
||||
#[derive(PartialEq)]
|
||||
#[derive(PartialEq, Eq)]
|
||||
struct CantParam(NotParam);
|
||||
|
||||
impl std::marker::ConstParamTy for CantParam {}
|
||||
|
Loading…
Reference in New Issue
Block a user