]> git.proxmox.com Git - rustc.git/blob - src/test/ui/resolve-inconsistent-names.stderr
New upstream version 1.24.1+dfsg1
[rustc.git] / src / test / ui / resolve-inconsistent-names.stderr
1 error[E0408]: variable `a` is not bound in all patterns
2 --> $DIR/resolve-inconsistent-names.rs:14:12
3 |
4 14 | a | b => {} //~ ERROR variable `a` is not bound in all patterns
5 | - ^ pattern doesn't bind `a`
6 | |
7 | variable not in all patterns
8
9 error[E0408]: variable `b` is not bound in all patterns
10 --> $DIR/resolve-inconsistent-names.rs:14:8
11 |
12 14 | a | b => {} //~ ERROR variable `a` is not bound in all patterns
13 | ^ - variable not in all patterns
14 | |
15 | pattern doesn't bind `b`
16
17 error: aborting due to 2 previous errors
18