10 Some(y) => { println!("{:?}", y); }
16 (2...3, 7...9) => dummy(),
20 // Not linted (pattern guards used)
22 Some(y) if y == 0 => println!("{:?}", y),
26 // Not linted (no block with statements in the single arm)
28 (2...3, 7...9) => println!("{:?}", z),
29 _ => println!("nope"),
33 enum Foo { Bar, Baz(u8) }
37 fn single_match_know_enum() {
39 let y : Result<_, i8> = Ok(1i8);
51 let c = Cow::Borrowed("");
54 Cow::Borrowed(..) => dummy(),
61 Bar => println!("42"),
66 Baz(_) => println!("42"),