1
1
error[E0408]: variable `beta` is not bound in all patterns
2
- --> $DIR/missing-bindings.rs:20:9
2
+ --> $DIR/missing-bindings.rs:20:10
3
3
|
4
- LL | let alpha | beta | charlie = alpha;
5
- | ^^^^^ ---- ^^^^^^^ pattern doesn't bind `beta`
6
- | | |
7
- | | variable not in all patterns
8
- | pattern doesn't bind `beta`
4
+ LL | let ( alpha | beta | charlie) = alpha;
5
+ | ^^^^^ ---- ^^^^^^^ pattern doesn't bind `beta`
6
+ | | |
7
+ | | variable not in all patterns
8
+ | pattern doesn't bind `beta`
9
9
10
10
error[E0408]: variable `beta` is not bound in all patterns
11
11
--> $DIR/missing-bindings.rs:22:14
@@ -16,132 +16,132 @@ LL | Some(alpha | beta) => {}
16
16
| pattern doesn't bind `beta`
17
17
18
18
error[E0408]: variable `a` is not bound in all patterns
19
- --> $DIR/missing-bindings.rs:34:19
19
+ --> $DIR/missing-bindings.rs:34:20
20
20
|
21
- LL | let A(a, _) | _ = X;
22
- | - ^ pattern doesn't bind `a`
23
- | |
24
- | variable not in all patterns
21
+ LL | let ( A(a, _) | _) = X;
22
+ | - ^ pattern doesn't bind `a`
23
+ | |
24
+ | variable not in all patterns
25
25
26
26
error[E0408]: variable `a` is not bound in all patterns
27
- --> $DIR/missing-bindings.rs:35:9
27
+ --> $DIR/missing-bindings.rs:35:10
28
28
|
29
- LL | let _ | B(a) = X;
30
- | ^ - variable not in all patterns
31
- | |
32
- | pattern doesn't bind `a`
29
+ LL | let ( _ | B(a) ) = X;
30
+ | ^ - variable not in all patterns
31
+ | |
32
+ | pattern doesn't bind `a`
33
33
34
34
error[E0408]: variable `a` is not bound in all patterns
35
- --> $DIR/missing-bindings.rs:36:9
35
+ --> $DIR/missing-bindings.rs:36:10
36
36
|
37
- LL | let A(..) | B(a) = X;
38
- | ^^^^^ - variable not in all patterns
39
- | |
40
- | pattern doesn't bind `a`
37
+ LL | let ( A(..) | B(a) ) = X;
38
+ | ^^^^^ - variable not in all patterns
39
+ | |
40
+ | pattern doesn't bind `a`
41
41
42
42
error[E0408]: variable `a` is not bound in all patterns
43
- --> $DIR/missing-bindings.rs:37:19
43
+ --> $DIR/missing-bindings.rs:37:20
44
44
|
45
- LL | let A(a, _) | B(_) = X;
46
- | - ^^^^ pattern doesn't bind `a`
47
- | |
48
- | variable not in all patterns
45
+ LL | let ( A(a, _) | B(_) ) = X;
46
+ | - ^^^^ pattern doesn't bind `a`
47
+ | |
48
+ | variable not in all patterns
49
49
50
50
error[E0408]: variable `a` is not bound in all patterns
51
- --> $DIR/missing-bindings.rs:38:19
51
+ --> $DIR/missing-bindings.rs:38:20
52
52
|
53
- LL | let A(_, a) | B(_) = X;
54
- | - ^^^^ pattern doesn't bind `a`
55
- | |
56
- | variable not in all patterns
53
+ LL | let ( A(_, a) | B(_) ) = X;
54
+ | - ^^^^ pattern doesn't bind `a`
55
+ | |
56
+ | variable not in all patterns
57
57
58
58
error[E0408]: variable `b` is not bound in all patterns
59
- --> $DIR/missing-bindings.rs:39:19
59
+ --> $DIR/missing-bindings.rs:39:20
60
60
|
61
- LL | let A(a, b) | B(a) = X;
62
- | - ^^^^ pattern doesn't bind `b`
63
- | |
64
- | variable not in all patterns
61
+ LL | let ( A(a, b) | B(a) ) = X;
62
+ | - ^^^^ pattern doesn't bind `b`
63
+ | |
64
+ | variable not in all patterns
65
65
66
66
error[E0408]: variable `a` is not bound in all patterns
67
- --> $DIR/missing-bindings.rs:43:9
67
+ --> $DIR/missing-bindings.rs:43:10
68
68
|
69
- LL | let A(A(..) | B(_), _) | B(a) = Y;
70
- | ^^^^^^^^^^^^^^^^^^ - variable not in all patterns
71
- | |
72
- | pattern doesn't bind `a`
69
+ LL | let ( A(A(..) | B(_), _) | B(a) ) = Y;
70
+ | ^^^^^^^^^^^^^^^^^^ - variable not in all patterns
71
+ | |
72
+ | pattern doesn't bind `a`
73
73
74
74
error[E0408]: variable `a` is not bound in all patterns
75
- --> $DIR/missing-bindings.rs:44:11
75
+ --> $DIR/missing-bindings.rs:44:12
76
76
|
77
- LL | let A(A(..) | B(a), _) | B(A(a, _) | B(a)) = Y;
78
- | ^^^^^ - variable not in all patterns
79
- | |
80
- | pattern doesn't bind `a`
77
+ LL | let ( A(A(..) | B(a), _) | B(A(a, _) | B(a) )) = Y;
78
+ | ^^^^^ - variable not in all patterns
79
+ | |
80
+ | pattern doesn't bind `a`
81
81
82
82
error[E0408]: variable `a` is not bound in all patterns
83
- --> $DIR/missing-bindings.rs:46:21
83
+ --> $DIR/missing-bindings.rs:46:22
84
84
|
85
- LL | let A(A(a, b) | B(c), d) | B(e) = Y;
86
- | - ^^^^ pattern doesn't bind `a`
87
- | |
88
- | variable not in all patterns
85
+ LL | let ( A(A(a, b) | B(c), d) | B(e) ) = Y;
86
+ | - ^^^^ pattern doesn't bind `a`
87
+ | |
88
+ | variable not in all patterns
89
89
90
90
error[E0408]: variable `b` is not bound in all patterns
91
- --> $DIR/missing-bindings.rs:46:21
91
+ --> $DIR/missing-bindings.rs:46:22
92
92
|
93
- LL | let A(A(a, b) | B(c), d) | B(e) = Y;
94
- | - ^^^^ pattern doesn't bind `b`
95
- | |
96
- | variable not in all patterns
93
+ LL | let ( A(A(a, b) | B(c), d) | B(e) ) = Y;
94
+ | - ^^^^ pattern doesn't bind `b`
95
+ | |
96
+ | variable not in all patterns
97
97
98
98
error[E0408]: variable `c` is not bound in all patterns
99
- --> $DIR/missing-bindings.rs:46:11
99
+ --> $DIR/missing-bindings.rs:46:12
100
100
|
101
- LL | let A(A(a, b) | B(c), d) | B(e) = Y;
102
- | ^^^^^^^ - variable not in all patterns
103
- | |
104
- | pattern doesn't bind `c`
101
+ LL | let ( A(A(a, b) | B(c), d) | B(e) ) = Y;
102
+ | ^^^^^^^ - variable not in all patterns
103
+ | |
104
+ | pattern doesn't bind `c`
105
105
106
106
error[E0408]: variable `a` is not bound in all patterns
107
- --> $DIR/missing-bindings.rs:46:32
107
+ --> $DIR/missing-bindings.rs:46:33
108
108
|
109
- LL | let A(A(a, b) | B(c), d) | B(e) = Y;
110
- | - ^^^^ pattern doesn't bind `a`
111
- | |
112
- | variable not in all patterns
109
+ LL | let ( A(A(a, b) | B(c), d) | B(e) ) = Y;
110
+ | - ^^^^ pattern doesn't bind `a`
111
+ | |
112
+ | variable not in all patterns
113
113
114
114
error[E0408]: variable `b` is not bound in all patterns
115
- --> $DIR/missing-bindings.rs:46:32
115
+ --> $DIR/missing-bindings.rs:46:33
116
116
|
117
- LL | let A(A(a, b) | B(c), d) | B(e) = Y;
118
- | - ^^^^ pattern doesn't bind `b`
119
- | |
120
- | variable not in all patterns
117
+ LL | let ( A(A(a, b) | B(c), d) | B(e) ) = Y;
118
+ | - ^^^^ pattern doesn't bind `b`
119
+ | |
120
+ | variable not in all patterns
121
121
122
122
error[E0408]: variable `c` is not bound in all patterns
123
- --> $DIR/missing-bindings.rs:46:32
123
+ --> $DIR/missing-bindings.rs:46:33
124
124
|
125
- LL | let A(A(a, b) | B(c), d) | B(e) = Y;
126
- | - ^^^^ pattern doesn't bind `c`
127
- | |
128
- | variable not in all patterns
125
+ LL | let ( A(A(a, b) | B(c), d) | B(e) ) = Y;
126
+ | - ^^^^ pattern doesn't bind `c`
127
+ | |
128
+ | variable not in all patterns
129
129
130
130
error[E0408]: variable `d` is not bound in all patterns
131
- --> $DIR/missing-bindings.rs:46:32
131
+ --> $DIR/missing-bindings.rs:46:33
132
132
|
133
- LL | let A(A(a, b) | B(c), d) | B(e) = Y;
134
- | - ^^^^ pattern doesn't bind `d`
135
- | |
136
- | variable not in all patterns
133
+ LL | let ( A(A(a, b) | B(c), d) | B(e) ) = Y;
134
+ | - ^^^^ pattern doesn't bind `d`
135
+ | |
136
+ | variable not in all patterns
137
137
138
138
error[E0408]: variable `e` is not bound in all patterns
139
- --> $DIR/missing-bindings.rs:46:9
139
+ --> $DIR/missing-bindings.rs:46:10
140
140
|
141
- LL | let A(A(a, b) | B(c), d) | B(e) = Y;
142
- | ^^^^^^^^^^^^^^^^^^^^ - variable not in all patterns
143
- | |
144
- | pattern doesn't bind `e`
141
+ LL | let ( A(A(a, b) | B(c), d) | B(e) ) = Y;
142
+ | ^^^^^^^^^^^^^^^^^^^^ - variable not in all patterns
143
+ | |
144
+ | pattern doesn't bind `e`
145
145
146
146
error[E0408]: variable `a` is not bound in all patterns
147
147
--> $DIR/missing-bindings.rs:62:29
0 commit comments