@@ -7,15 +7,6 @@ LL | Some(0 | 1 | 2) => {}
7
7
= note: for more information, see https://github.com/rust-lang/rust/issues/54883
8
8
= help: add `#![feature(or_patterns)]` to the crate attributes to enable
9
9
10
- error[E0658]: or-patterns syntax is experimental
11
- --> $DIR/feature-gate-or_patterns.rs:28:9
12
- |
13
- LL | let | A | B;
14
- | ^
15
- |
16
- = note: for more information, see https://github.com/rust-lang/rust/issues/54883
17
- = help: add `#![feature(or_patterns)]` to the crate attributes to enable
18
-
19
10
error[E0658]: or-patterns syntax is experimental
20
11
--> $DIR/feature-gate-or_patterns.rs:28:11
21
12
|
@@ -26,7 +17,7 @@ LL | let | A | B;
26
17
= help: add `#![feature(or_patterns)]` to the crate attributes to enable
27
18
28
19
error[E0658]: or-patterns syntax is experimental
29
- --> $DIR/feature-gate-or_patterns.rs:30 :9
20
+ --> $DIR/feature-gate-or_patterns.rs:29 :9
30
21
|
31
22
LL | let A | B;
32
23
| ^^^^^
@@ -35,16 +26,7 @@ LL | let A | B;
35
26
= help: add `#![feature(or_patterns)]` to the crate attributes to enable
36
27
37
28
error[E0658]: or-patterns syntax is experimental
38
- --> $DIR/feature-gate-or_patterns.rs:31:9
39
- |
40
- LL | for | A | B in 0 {}
41
- | ^
42
- |
43
- = note: for more information, see https://github.com/rust-lang/rust/issues/54883
44
- = help: add `#![feature(or_patterns)]` to the crate attributes to enable
45
-
46
- error[E0658]: or-patterns syntax is experimental
47
- --> $DIR/feature-gate-or_patterns.rs:31:11
29
+ --> $DIR/feature-gate-or_patterns.rs:30:11
48
30
|
49
31
LL | for | A | B in 0 {}
50
32
| ^^^^^
@@ -53,7 +35,7 @@ LL | for | A | B in 0 {}
53
35
= help: add `#![feature(or_patterns)]` to the crate attributes to enable
54
36
55
37
error[E0658]: or-patterns syntax is experimental
56
- --> $DIR/feature-gate-or_patterns.rs:33 :9
38
+ --> $DIR/feature-gate-or_patterns.rs:31 :9
57
39
|
58
40
LL | for A | B in 0 {}
59
41
| ^^^^^
@@ -62,7 +44,7 @@ LL | for A | B in 0 {}
62
44
= help: add `#![feature(or_patterns)]` to the crate attributes to enable
63
45
64
46
error[E0658]: or-patterns syntax is experimental
65
- --> $DIR/feature-gate-or_patterns.rs:34 :13
47
+ --> $DIR/feature-gate-or_patterns.rs:32 :13
66
48
|
67
49
LL | fn fun((A | B): _) {}
68
50
| ^^^^^
@@ -71,7 +53,7 @@ LL | fn fun((A | B): _) {}
71
53
= help: add `#![feature(or_patterns)]` to the crate attributes to enable
72
54
73
55
error[E0658]: or-patterns syntax is experimental
74
- --> $DIR/feature-gate-or_patterns.rs:35 :15
56
+ --> $DIR/feature-gate-or_patterns.rs:33 :15
75
57
|
76
58
LL | let _ = |(A | B): u8| ();
77
59
| ^^^^^
@@ -80,7 +62,7 @@ LL | let _ = |(A | B): u8| ();
80
62
= help: add `#![feature(or_patterns)]` to the crate attributes to enable
81
63
82
64
error[E0658]: or-patterns syntax is experimental
83
- --> $DIR/feature-gate-or_patterns.rs:36 :10
65
+ --> $DIR/feature-gate-or_patterns.rs:34 :10
84
66
|
85
67
LL | let (A | B);
86
68
| ^^^^^
@@ -89,7 +71,7 @@ LL | let (A | B);
89
71
= help: add `#![feature(or_patterns)]` to the crate attributes to enable
90
72
91
73
error[E0658]: or-patterns syntax is experimental
92
- --> $DIR/feature-gate-or_patterns.rs:37 :10
74
+ --> $DIR/feature-gate-or_patterns.rs:35 :10
93
75
|
94
76
LL | let (A | B,);
95
77
| ^^^^^
@@ -98,7 +80,7 @@ LL | let (A | B,);
98
80
= help: add `#![feature(or_patterns)]` to the crate attributes to enable
99
81
100
82
error[E0658]: or-patterns syntax is experimental
101
- --> $DIR/feature-gate-or_patterns.rs:38 :11
83
+ --> $DIR/feature-gate-or_patterns.rs:36 :11
102
84
|
103
85
LL | let A(B | C);
104
86
| ^^^^^
@@ -107,7 +89,7 @@ LL | let A(B | C);
107
89
= help: add `#![feature(or_patterns)]` to the crate attributes to enable
108
90
109
91
error[E0658]: or-patterns syntax is experimental
110
- --> $DIR/feature-gate-or_patterns.rs:39 :14
92
+ --> $DIR/feature-gate-or_patterns.rs:37 :14
111
93
|
112
94
LL | let E::V(B | C);
113
95
| ^^^^^
@@ -116,7 +98,7 @@ LL | let E::V(B | C);
116
98
= help: add `#![feature(or_patterns)]` to the crate attributes to enable
117
99
118
100
error[E0658]: or-patterns syntax is experimental
119
- --> $DIR/feature-gate-or_patterns.rs:40 :17
101
+ --> $DIR/feature-gate-or_patterns.rs:38 :17
120
102
|
121
103
LL | let S { f1: B | C, f2 };
122
104
| ^^^^^
@@ -125,7 +107,7 @@ LL | let S { f1: B | C, f2 };
125
107
= help: add `#![feature(or_patterns)]` to the crate attributes to enable
126
108
127
109
error[E0658]: or-patterns syntax is experimental
128
- --> $DIR/feature-gate-or_patterns.rs:41 :20
110
+ --> $DIR/feature-gate-or_patterns.rs:39 :20
129
111
|
130
112
LL | let E::V { f1: B | C, f2 };
131
113
| ^^^^^
@@ -134,7 +116,7 @@ LL | let E::V { f1: B | C, f2 };
134
116
= help: add `#![feature(or_patterns)]` to the crate attributes to enable
135
117
136
118
error[E0658]: or-patterns syntax is experimental
137
- --> $DIR/feature-gate-or_patterns.rs:42 :10
119
+ --> $DIR/feature-gate-or_patterns.rs:40 :10
138
120
|
139
121
LL | let [A | B];
140
122
| ^^^^^
@@ -187,6 +169,6 @@ LL | accept_pat!([p | q]);
187
169
= note: for more information, see https://github.com/rust-lang/rust/issues/54883
188
170
= help: add `#![feature(or_patterns)]` to the crate attributes to enable
189
171
190
- error: aborting due to 21 previous errors
172
+ error: aborting due to 19 previous errors
191
173
192
174
For more information about this error, try `rustc --explain E0658`.
0 commit comments