]> git.proxmox.com Git - rustc.git/blob - src/test/ui/span/issue-39698.stderr
New upstream version 1.46.0~beta.2+dfsg1
[rustc.git] / src / test / ui / span / issue-39698.stderr
1 error[E0408]: variable `a` is not bound in all patterns
2 --> $DIR/issue-39698.rs:10:23
3 |
4 LL | T::T1(a, d) | T::T2(d, b) | T::T3(c) | T::T4(a) => { println!("{:?}", a); }
5 | - ^^^^^^^^^^^ ^^^^^^^^ - variable not in all patterns
6 | | | |
7 | | | pattern doesn't bind `a`
8 | | pattern doesn't bind `a`
9 | variable not in all patterns
10
11 error[E0408]: variable `b` is not bound in all patterns
12 --> $DIR/issue-39698.rs:10:9
13 |
14 LL | T::T1(a, d) | T::T2(d, b) | T::T3(c) | T::T4(a) => { println!("{:?}", a); }
15 | ^^^^^^^^^^^ - ^^^^^^^^ ^^^^^^^^ pattern doesn't bind `b`
16 | | | |
17 | | | pattern doesn't bind `b`
18 | | variable not in all patterns
19 | pattern doesn't bind `b`
20
21 error[E0408]: variable `c` is not bound in all patterns
22 --> $DIR/issue-39698.rs:10:9
23 |
24 LL | T::T1(a, d) | T::T2(d, b) | T::T3(c) | T::T4(a) => { println!("{:?}", a); }
25 | ^^^^^^^^^^^ ^^^^^^^^^^^ - ^^^^^^^^ pattern doesn't bind `c`
26 | | | |
27 | | | variable not in all patterns
28 | | pattern doesn't bind `c`
29 | pattern doesn't bind `c`
30
31 error[E0408]: variable `d` is not bound in all patterns
32 --> $DIR/issue-39698.rs:10:37
33 |
34 LL | T::T1(a, d) | T::T2(d, b) | T::T3(c) | T::T4(a) => { println!("{:?}", a); }
35 | - - ^^^^^^^^ ^^^^^^^^ pattern doesn't bind `d`
36 | | | |
37 | | | pattern doesn't bind `d`
38 | | variable not in all patterns
39 | variable not in all patterns
40
41 error: aborting due to 4 previous errors
42
43 For more information about this error, try `rustc --explain E0408`.