15 Variant { field: String }
20 E::Variant { field: _ } => (), //~ ERROR unused variable
25 let s = S { f1: 123 };
26 let S { f1: _ } = s; //~ ERROR unused variable
28 let points = vec![Point { x: 1, y: 2 }];
29 let _: i32 = points.iter().map(|Point { x: _, y }| y).sum(); //~ ERROR unused variable
31 match (Point { x: 1, y: 2 }) {
32 Point { y, x: _ } => y, //~ ERROR unused variable