]> git.lizzy.rs Git - rust.git/blob - tests/ui/occurs-check-3.rs
Rollup merge of #106734 - albertlarsan68:deny-src-tests-in-tidy, r=Nilstrieb
[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