]> git.lizzy.rs Git - rust.git/blob - src/test/ui/match/match-tag-nullary.rs
Merge commit 'cd4810de42c57b64b74dae09c530a4c3a41f87b9' into libgccjit-codegen
[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