summary refs log tree commit diff
path: root/src/test/ui/resolve-inconsistent-names.stderr
blob: 17caac210d4511a99b5d1af406b14aa9f48876db (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
error[E0408]: variable `a` is not bound in all patterns
  --> $DIR/resolve-inconsistent-names.rs:14:12
   |
LL |        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
   |
LL |        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

For more information about this error, try `rustc --explain E0408`.