rust/tests/ui/partialeq_ne_impl.rs
Luis de Bethencourt ec343e1524 clean tests/ui/precedence.rs
Cleaning the empty lines for clarity.
2017-05-11 16:22:32 +01:00

15 lines
222 B
Rust

#![feature(plugin)]
#![plugin(clippy)]
#![deny(warnings)]
#![allow(dead_code)]
struct Foo;
impl PartialEq for Foo {
fn eq(&self, _: &Foo) -> bool { true }
fn ne(&self, _: &Foo) -> bool { false }
}
fn main() {}