]> git.lizzy.rs Git - rust.git/blob - src/test/ui/occurs-check-3.rs
Auto merge of #75936 - sdroege:chunks-exact-construction-bounds-check, r=nagisa
[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