fork/rust
git clone https://git.julia.blue/fork/rust
8d69840ab92
1.43.1
1error[E0308]: mismatched types 2 --> $DIR/issue-7867.rs:7:9 3 | 4LL | enum A { B, C } 5 | - unit variant defined here 6... 7LL | match (true, false) { 8 | ------------- this expression has type `(bool, bool)` 9LL | A::B => (), 10 | ^^^^ expected tuple, found enum `A` 11 | 12 = note: expected tuple `(bool, bool)` 13 found enum `A` 14 15error: aborting due to previous error 16 17For more information about this error, try `rustc --explain E0308`.