blob: a2c8fe551bb03d378c919c7c2cdd18894801eef4 [file] [log] [blame]
enum A {
Value(())
}
fn main() {
let a = A::Value(());
a == A::Value;
//~^ ERROR binary operation `==` cannot be applied to type `A`
}