7 let s = [0, 1, 2, 3, 4];
14 y @ None => (), // no error
17 [x, inside @ .., y] => (), // no error
21 let mut mutv = vec![1, 2, 3];
23 // required "ref" left out in suggestion: #5271
27 println!("vec: {:?}", x);
29 ref y if y == &vec![0] => (),
33 ref x @ _ => println!("vec: {:?}", x),
34 ref y if y == &vec![0] => (),