]> git.lizzy.rs Git - rust.git/blob - src/test/ui/occurs-check-3.rs
Merge commit 'e214ea82ad0a751563acf67e1cd9279cf302db3a' into clippyup
[rust.git] / src / test / 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