1 error[E0408]: variable `a` is not bound in all patterns
2 --> $DIR/resolve-inconsistent-names.rs:14:12
4 14 | a | b => {} //~ ERROR variable `a` is not bound in all patterns
5 | - ^ pattern doesn't bind `a`
7 | variable not in all patterns
9 error[E0408]: variable `b` is not bound in all patterns
10 --> $DIR/resolve-inconsistent-names.rs:14:8
12 14 | a | b => {} //~ ERROR variable `a` is not bound in all patterns
13 | ^ - variable not in all patterns
15 | pattern doesn't bind `b`
17 error: aborting due to 2 previous errors