Skip to content

Commit e5abe15

Browse files
committed
Test fixes from the rollup
1 parent 25e08fb commit e5abe15

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

src/test/compile-fail/feature-gate-advanced-slice-features.rs

+3-3
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,9 @@
1111
fn main() {
1212
let x = [ 1i, 2, 3, 4, 5 ];
1313
match x {
14-
[ ..xs, 4, 5 ] => {} //~ ERROR multiple-element slice matches
15-
[ 1, ..xs, 5 ] => {} //~ ERROR multiple-element slice matches
16-
[ 1, 2, ..xs ] => {} // OK without feature gate
14+
[ xs.., 4, 5 ] => {} //~ ERROR multiple-element slice matches
15+
[ 1, xs.., 5 ] => {} //~ ERROR multiple-element slice matches
16+
[ 1, 2, xs.. ] => {} // OK without feature gate
1717
}
1818
}
1919

src/test/run-pass-fulldeps/issue-16992.rs

+1
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
// except according to those terms.
1010

1111
// ignore-pretty
12+
// ignore-android
1213

1314
#![feature(quote)]
1415

0 commit comments

Comments
 (0)