@@ -7,15 +7,6 @@ LL | Some(0 | 1 | 2) => {}
77 = note: for more information, see https://github.com/rust-lang/rust/issues/54883
88 = help: add `#![feature(or_patterns)]` to the crate attributes to enable
99
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-
1910error[E0658]: or-patterns syntax is experimental
2011 --> $DIR/feature-gate-or_patterns.rs:28:11
2112 |
@@ -26,7 +17,7 @@ LL | let | A | B;
2617 = help: add `#![feature(or_patterns)]` to the crate attributes to enable
2718
2819error[E0658]: or-patterns syntax is experimental
29- --> $DIR/feature-gate-or_patterns.rs:30 :9
20+ --> $DIR/feature-gate-or_patterns.rs:29 :9
3021 |
3122LL | let A | B;
3223 | ^^^^^
@@ -35,16 +26,7 @@ LL | let A | B;
3526 = help: add `#![feature(or_patterns)]` to the crate attributes to enable
3627
3728error[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
4830 |
4931LL | for | A | B in 0 {}
5032 | ^^^^^
@@ -53,7 +35,7 @@ LL | for | A | B in 0 {}
5335 = help: add `#![feature(or_patterns)]` to the crate attributes to enable
5436
5537error[E0658]: or-patterns syntax is experimental
56- --> $DIR/feature-gate-or_patterns.rs:33 :9
38+ --> $DIR/feature-gate-or_patterns.rs:31 :9
5739 |
5840LL | for A | B in 0 {}
5941 | ^^^^^
@@ -62,7 +44,7 @@ LL | for A | B in 0 {}
6244 = help: add `#![feature(or_patterns)]` to the crate attributes to enable
6345
6446error[E0658]: or-patterns syntax is experimental
65- --> $DIR/feature-gate-or_patterns.rs:34 :13
47+ --> $DIR/feature-gate-or_patterns.rs:32 :13
6648 |
6749LL | fn fun((A | B): _) {}
6850 | ^^^^^
@@ -71,7 +53,7 @@ LL | fn fun((A | B): _) {}
7153 = help: add `#![feature(or_patterns)]` to the crate attributes to enable
7254
7355error[E0658]: or-patterns syntax is experimental
74- --> $DIR/feature-gate-or_patterns.rs:35 :15
56+ --> $DIR/feature-gate-or_patterns.rs:33 :15
7557 |
7658LL | let _ = |(A | B): u8| ();
7759 | ^^^^^
@@ -80,7 +62,7 @@ LL | let _ = |(A | B): u8| ();
8062 = help: add `#![feature(or_patterns)]` to the crate attributes to enable
8163
8264error[E0658]: or-patterns syntax is experimental
83- --> $DIR/feature-gate-or_patterns.rs:36 :10
65+ --> $DIR/feature-gate-or_patterns.rs:34 :10
8466 |
8567LL | let (A | B);
8668 | ^^^^^
@@ -89,7 +71,7 @@ LL | let (A | B);
8971 = help: add `#![feature(or_patterns)]` to the crate attributes to enable
9072
9173error[E0658]: or-patterns syntax is experimental
92- --> $DIR/feature-gate-or_patterns.rs:37 :10
74+ --> $DIR/feature-gate-or_patterns.rs:35 :10
9375 |
9476LL | let (A | B,);
9577 | ^^^^^
@@ -98,7 +80,7 @@ LL | let (A | B,);
9880 = help: add `#![feature(or_patterns)]` to the crate attributes to enable
9981
10082error[E0658]: or-patterns syntax is experimental
101- --> $DIR/feature-gate-or_patterns.rs:38 :11
83+ --> $DIR/feature-gate-or_patterns.rs:36 :11
10284 |
10385LL | let A(B | C);
10486 | ^^^^^
@@ -107,7 +89,7 @@ LL | let A(B | C);
10789 = help: add `#![feature(or_patterns)]` to the crate attributes to enable
10890
10991error[E0658]: or-patterns syntax is experimental
110- --> $DIR/feature-gate-or_patterns.rs:39 :14
92+ --> $DIR/feature-gate-or_patterns.rs:37 :14
11193 |
11294LL | let E::V(B | C);
11395 | ^^^^^
@@ -116,7 +98,7 @@ LL | let E::V(B | C);
11698 = help: add `#![feature(or_patterns)]` to the crate attributes to enable
11799
118100error[E0658]: or-patterns syntax is experimental
119- --> $DIR/feature-gate-or_patterns.rs:40 :17
101+ --> $DIR/feature-gate-or_patterns.rs:38 :17
120102 |
121103LL | let S { f1: B | C, f2 };
122104 | ^^^^^
@@ -125,7 +107,7 @@ LL | let S { f1: B | C, f2 };
125107 = help: add `#![feature(or_patterns)]` to the crate attributes to enable
126108
127109error[E0658]: or-patterns syntax is experimental
128- --> $DIR/feature-gate-or_patterns.rs:41 :20
110+ --> $DIR/feature-gate-or_patterns.rs:39 :20
129111 |
130112LL | let E::V { f1: B | C, f2 };
131113 | ^^^^^
@@ -134,7 +116,7 @@ LL | let E::V { f1: B | C, f2 };
134116 = help: add `#![feature(or_patterns)]` to the crate attributes to enable
135117
136118error[E0658]: or-patterns syntax is experimental
137- --> $DIR/feature-gate-or_patterns.rs:42 :10
119+ --> $DIR/feature-gate-or_patterns.rs:40 :10
138120 |
139121LL | let [A | B];
140122 | ^^^^^
@@ -187,6 +169,6 @@ LL | accept_pat!([p | q]);
187169 = note: for more information, see https://github.com/rust-lang/rust/issues/54883
188170 = help: add `#![feature(or_patterns)]` to the crate attributes to enable
189171
190- error: aborting due to 21 previous errors
172+ error: aborting due to 19 previous errors
191173
192174For more information about this error, try `rustc --explain E0658`.
0 commit comments