3 #![allow(unused_variables)]
4 #![allow(unions_with_drop_fields)]
6 // Some traits can be derived for unions.
8 #![feature(untagged_unions)]
20 impl PartialEq for U { fn eq(&self, rhs: &Self) -> bool { true } }
31 impl<T> PartialEq for W<T> { fn eq(&self, rhs: &Self) -> bool { true } }