1 // Regression test for #71297
4 async fn a((x | s): String) {}
5 //~^ ERROR variable `x` is not bound in all patterns
6 //~| ERROR variable `s` is not bound in all patterns
9 let (x | s) = String::new();
10 //~^ ERROR variable `x` is not bound in all patterns
11 //~| ERROR variable `s` is not bound in all patterns