summary refs log tree commit diff
path: root/src/test/ui/resolve-inconsistent-names.stderr
blob: 8ae5a6b8a820f51cb49e89f403376a6c25f045f7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
error[E0408]: variable `a` is not bound in all patterns
  --> $DIR/resolve-inconsistent-names.rs:14:12
   |
14 |        a | b => {} //~  ERROR variable `a` is not bound in all patterns
   |        -   ^ pattern doesn't bind `a`
   |        |
   |        variable not in all patterns

error[E0408]: variable `b` is not bound in all patterns
  --> $DIR/resolve-inconsistent-names.rs:14:8
   |
14 |        a | b => {} //~  ERROR variable `a` is not bound in all patterns
   |        ^   - variable not in all patterns
   |        |
   |        pattern doesn't bind `b`

error: aborting due to 2 previous errors