]> git.lizzy.rs Git - rust.git/blob - src/test/ui/resolve/resolve-inconsistent-names.stderr
Rollup merge of #61207 - taiki-e:arbitrary_self_types-lifetime-elision-2, r=Centril
[rust.git] / src / test / ui / resolve / resolve-inconsistent-names.stderr
1 error[E0408]: variable `a` is not bound in all patterns
2   --> $DIR/resolve-inconsistent-names.rs:4:12
3    |
4 LL |        a | b => {}
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:4:8
11    |
12 LL |        a | b => {}
13    |        ^   - variable not in all patterns
14    |        |
15    |        pattern doesn't bind `b`
16
17 error: aborting due to 2 previous errors
18
19 For more information about this error, try `rustc --explain E0408`.