]> git.lizzy.rs Git - rust.git/blob - src/test/ui/match/match-tag-unary.rs
Auto merge of #106349 - LeSeulArtichaut:dyn-star-tracking-issue, r=jackh726
[rust.git] / src / test / ui / match / match-tag-unary.rs
1 enum A { A(isize) }
2 enum B { B(isize) }
3
4 fn main() { let x: A = A::A(0); match x { B::B(y) => { } } } //~ ERROR mismatched types