1 // Check that or patterns are lowered correctly in `if let` and `while let` expressions.
6 let mut w = Vec::new();
7 while let Some(ref mut val @ (3 | 4 | 6)) = opt {
11 assert_eq!(w, [3, 4]);
12 if let &(None | Some(6 | 7)) = &opt {
15 if let Some(x @ (4 | 5 | 6)) = opt {