1 error[E0408]: variable `beta` is not bound in all patterns
2 --> $DIR/missing-bindings.rs:19:10
4 LL | let (alpha | beta | charlie) = alpha;
5 | ^^^^^ ---- ^^^^^^^ pattern doesn't bind `beta`
7 | | variable not in all patterns
8 | pattern doesn't bind `beta`
10 error[E0408]: variable `beta` is not bound in all patterns
11 --> $DIR/missing-bindings.rs:21:14
13 LL | Some(alpha | beta) => {}
14 | ^^^^^ ---- variable not in all patterns
16 | pattern doesn't bind `beta`
18 error[E0408]: variable `a` is not bound in all patterns
19 --> $DIR/missing-bindings.rs:33:20
21 LL | let (A(a, _) | _) = X;
22 | - ^ pattern doesn't bind `a`
24 | variable not in all patterns
26 error[E0408]: variable `a` is not bound in all patterns
27 --> $DIR/missing-bindings.rs:34:10
29 LL | let (_ | B(a)) = X;
30 | ^ - variable not in all patterns
32 | pattern doesn't bind `a`
34 error[E0408]: variable `a` is not bound in all patterns
35 --> $DIR/missing-bindings.rs:35:10
37 LL | let (A(..) | B(a)) = X;
38 | ^^^^^ - variable not in all patterns
40 | pattern doesn't bind `a`
42 error[E0408]: variable `a` is not bound in all patterns
43 --> $DIR/missing-bindings.rs:36:20
45 LL | let (A(a, _) | B(_)) = X;
46 | - ^^^^ pattern doesn't bind `a`
48 | variable not in all patterns
50 error[E0408]: variable `a` is not bound in all patterns
51 --> $DIR/missing-bindings.rs:37:20
53 LL | let (A(_, a) | B(_)) = X;
54 | - ^^^^ pattern doesn't bind `a`
56 | variable not in all patterns
58 error[E0408]: variable `b` is not bound in all patterns
59 --> $DIR/missing-bindings.rs:38:20
61 LL | let (A(a, b) | B(a)) = X;
62 | - ^^^^ pattern doesn't bind `b`
64 | variable not in all patterns
66 error[E0408]: variable `a` is not bound in all patterns
67 --> $DIR/missing-bindings.rs:42:10
69 LL | let (A(A(..) | B(_), _) | B(a)) = Y;
70 | ^^^^^^^^^^^^^^^^^^ - variable not in all patterns
72 | pattern doesn't bind `a`
74 error[E0408]: variable `a` is not bound in all patterns
75 --> $DIR/missing-bindings.rs:43:12
77 LL | let (A(A(..) | B(a), _) | B(A(a, _) | B(a))) = Y;
78 | ^^^^^ - variable not in all patterns
80 | pattern doesn't bind `a`
82 error[E0408]: variable `a` is not bound in all patterns
83 --> $DIR/missing-bindings.rs:45:22
85 LL | let (A(A(a, b) | B(c), d) | B(e)) = Y;
86 | - ^^^^ pattern doesn't bind `a`
88 | variable not in all patterns
90 error[E0408]: variable `b` is not bound in all patterns
91 --> $DIR/missing-bindings.rs:45:22
93 LL | let (A(A(a, b) | B(c), d) | B(e)) = Y;
94 | - ^^^^ pattern doesn't bind `b`
96 | variable not in all patterns
98 error[E0408]: variable `c` is not bound in all patterns
99 --> $DIR/missing-bindings.rs:45:12
101 LL | let (A(A(a, b) | B(c), d) | B(e)) = Y;
102 | ^^^^^^^ - variable not in all patterns
104 | pattern doesn't bind `c`
106 error[E0408]: variable `a` is not bound in all patterns
107 --> $DIR/missing-bindings.rs:45:33
109 LL | let (A(A(a, b) | B(c), d) | B(e)) = Y;
110 | - ^^^^ pattern doesn't bind `a`
112 | variable not in all patterns
114 error[E0408]: variable `b` is not bound in all patterns
115 --> $DIR/missing-bindings.rs:45:33
117 LL | let (A(A(a, b) | B(c), d) | B(e)) = Y;
118 | - ^^^^ pattern doesn't bind `b`
120 | variable not in all patterns
122 error[E0408]: variable `c` is not bound in all patterns
123 --> $DIR/missing-bindings.rs:45:33
125 LL | let (A(A(a, b) | B(c), d) | B(e)) = Y;
126 | - ^^^^ pattern doesn't bind `c`
128 | variable not in all patterns
130 error[E0408]: variable `d` is not bound in all patterns
131 --> $DIR/missing-bindings.rs:45:33
133 LL | let (A(A(a, b) | B(c), d) | B(e)) = Y;
134 | - ^^^^ pattern doesn't bind `d`
136 | variable not in all patterns
138 error[E0408]: variable `e` is not bound in all patterns
139 --> $DIR/missing-bindings.rs:45:10
141 LL | let (A(A(a, b) | B(c), d) | B(e)) = Y;
142 | ^^^^^^^^^^^^^^^^^^^^ - variable not in all patterns
144 | pattern doesn't bind `e`
146 error[E0408]: variable `a` is not bound in all patterns
147 --> $DIR/missing-bindings.rs:61:29
150 | - ^^^^^^ pattern doesn't bind `a`
152 | variable not in all patterns
154 error[E0408]: variable `a` is not bound in all patterns
155 --> $DIR/missing-bindings.rs:69:21
158 | - variable not in all patterns
160 | ^^^^ pattern doesn't bind `a`
162 error[E0408]: variable `b` is not bound in all patterns
163 --> $DIR/missing-bindings.rs:68:21
166 | ^^^^^^^ pattern doesn't bind `b`
168 | - variable not in all patterns
170 error[E0408]: variable `a` is not bound in all patterns
171 --> $DIR/missing-bindings.rs:72:17
174 | - variable not in all patterns
177 | ^^^^ pattern doesn't bind `a`
179 error[E0408]: variable `b` is not bound in all patterns
180 --> $DIR/missing-bindings.rs:72:17
183 | - variable not in all patterns
186 | ^^^^ pattern doesn't bind `b`
188 error[E0408]: variable `a` is not bound in all patterns
189 --> $DIR/missing-bindings.rs:76:13
191 LL | B(Ok(a) | Err(a))
192 | - variable not in all patterns
195 | - variable not in all patterns
198 | ^^^^^ pattern doesn't bind `a`
200 error[E0408]: variable `b` is not bound in all patterns
201 --> $DIR/missing-bindings.rs:57:13
208 LL | | B(Ok(a) | Err(a))
210 | |_____________^ pattern doesn't bind `b`
213 | - variable not in all patterns
216 | ^^^^^ pattern doesn't bind `b`
218 error[E0408]: variable `c` is not bound in all patterns
219 --> $DIR/missing-bindings.rs:57:13
226 LL | | B(Ok(a) | Err(a))
228 | |_____________^ pattern doesn't bind `c`
236 | |_____________^ pattern doesn't bind `c`
238 | - variable not in all patterns
240 error: aborting due to 26 previous errors
242 For more information about this error, try `rustc --explain E0408`.