1 #![feature(untagged_unions)]
8 impl PartialEq for U1 { fn eq(&self, rhs: &Self) -> bool { true } }
11 struct PartialEqNotEq;
15 a: PartialEqNotEq, //~ ERROR the trait bound `PartialEqNotEq: std::cmp::Eq` is not satisfied
18 impl PartialEq for U2 { fn eq(&self, rhs: &Self) -> bool { true } }