2 #![allow(unused_must_use)]
3 #![allow(unused_imports)]
4 // pretty-expanded FIXME #23616
7 use std::hash::{Hash, SipHasher};
9 #[derive(PartialEq, Clone, Hash)]
15 fn hash<T: Hash>(_t: &T) {}
18 let a = Foo {bar: 4, baz: -3};
20 a == a; // check for PartialEq impl w/o testing its correctness
21 a.clone(); // check for Clone impl w/o testing its correctness
22 hash(&a); // check for Hash impl w/o testing its correctness