// From Issue #778 enum Clam { A(T) } fn main() { let c; c = Clam::A(c); match c { Clam::A::(_) => { } } } //~^ ERROR mismatched types