]> git.lizzy.rs Git - rust.git/blob - tests/ui/occurs-check-3.rs
Merge commit '1d8491b120223272b13451fc81265aa64f7f4d5b' into sync-from-rustfmt
[rust.git] / tests / ui / occurs-check-3.rs
1 // From Issue #778
2
3 enum Clam<T> { A(T) }
4 fn main() { let c; c = Clam::A(c); match c { Clam::A::<isize>(_) => { } } }
5 //~^ ERROR mismatched types