]> git.lizzy.rs Git - rust.git/blob - src/test/ui/match/match-tag-nullary.rs
Merge commit 'e329249b6a3a98830d860c74c8234a8dd9407436' into clippyup
[rust.git] / src / test / ui / match / match-tag-nullary.rs
1 enum A { A }
2 enum B { B }
3
4 fn main() { let x: A = A::A; match x { B::B => { } } } //~ ERROR mismatched types