1 error[E0408]: variable `s` is not bound in all patterns
2 --> $DIR/mismatched-bindings-async-fn.rs:4:13
4 LL | async fn a((x | s): String) {}
5 | ^ - variable not in all patterns
7 | pattern doesn't bind `s`
9 error[E0408]: variable `x` is not bound in all patterns
10 --> $DIR/mismatched-bindings-async-fn.rs:4:17
12 LL | async fn a((x | s): String) {}
13 | - ^ pattern doesn't bind `x`
15 | variable not in all patterns
17 error[E0408]: variable `s` is not bound in all patterns
18 --> $DIR/mismatched-bindings-async-fn.rs:9:10
20 LL | let (x | s) = String::new();
21 | ^ - variable not in all patterns
23 | pattern doesn't bind `s`
25 error[E0408]: variable `x` is not bound in all patterns
26 --> $DIR/mismatched-bindings-async-fn.rs:9:14
28 LL | let (x | s) = String::new();
29 | - ^ pattern doesn't bind `x`
31 | variable not in all patterns
33 error: aborting due to 4 previous errors
35 For more information about this error, try `rustc --explain E0408`.