diff options
Diffstat (limited to 'src/test/auxiliary/crateresolve5-1.rs')
| -rw-r--r-- | src/test/auxiliary/crateresolve5-1.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/auxiliary/crateresolve5-1.rs b/src/test/auxiliary/crateresolve5-1.rs index 7cfb1dda4b9..de48981ed3e 100644 --- a/src/test/auxiliary/crateresolve5-1.rs +++ b/src/test/auxiliary/crateresolve5-1.rs @@ -26,7 +26,7 @@ pub fn nominal() -> e { e_val } pub fn nominal_eq(_e1: e, _e2: e) -> bool { true } -impl Eq for e { +impl PartialEq for e { fn eq(&self, other: &e) -> bool { nominal_eq(*self, *other) } fn ne(&self, other: &e) -> bool { !nominal_eq(*self, *other) } } |
