]> git.lizzy.rs Git - rust.git/blob - tests/ui/occurs-check-3.rs
Rollup merge of #107615 - notriddle:notriddle/nbsp, r=GuillaumeGomez
[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