]> git.lizzy.rs Git - rust.git/blob - tests/ui/partialeq_ne_impl.rs
Adapt the *.stderr files of the ui-tests to the tool_lints
[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() {}