]> git.lizzy.rs Git - rust.git/blob - tests/ui/partialeq_ne_impl.rs
Merge pull request #2984 from flip1995/single_char_pattern
[rust.git] / tests / ui / partialeq_ne_impl.rs
1
2
3
4 #![allow(dead_code)]
5
6 struct Foo;
7
8 impl PartialEq for Foo {
9     fn eq(&self, _: &Foo) -> bool { true }
10     fn ne(&self, _: &Foo) -> bool { false }
11 }
12
13 fn main() {}