blob: 87e7c831e68553954932cbe8c50b1fe3e3ddcc89 [file] [log] [blame]
//@ dont-require-annotations: NOTE
enum A { B, C }
mod foo { pub fn bar() {} }
fn main() {
match (true, false) {
A::B => (),
//~^ ERROR mismatched types
//~| NOTE expected `(bool, bool)`, found `A`
//~| NOTE expected tuple `(bool, bool)`
//~| NOTE found enum `A`
_ => ()
}
}