]> git.lizzy.rs Git - rust.git/blob - src/test/ui/issues/issue-7867.rs
Pass cflags rather than cxxflags to LLVM as CMAKE_C_FLAGS
[rust.git] / src / test / ui / issues / issue-7867.rs
1 enum A { B, C }
2
3 mod foo { pub fn bar() {} }
4
5 fn main() {
6     match (true, false) {
7         A::B => (),
8         //~^ ERROR mismatched types
9         //~| expected type `(bool, bool)`
10         //~| found type `A`
11         //~| expected tuple, found enum `A`
12         _ => ()
13     }
14 }