Skip to content

Commit a737ea6

Browse files
committed
Auto merge of #1149 - RalfJung:rustup, r=RalfJung
slice_patterns is stable now
2 parents 6a0f14b + b2303a7 commit a737ea6

File tree

5 files changed

+1
-9
lines changed

5 files changed

+1
-9
lines changed

rust-version

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
6d0bb91bcba33a70fae4b0c663fb4403ed78f071
1+
6250d56355d72264ece721e8d0dc95b16a6824b1

tests/run-pass/issue-15080.rs

-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
#![feature(slice_patterns)]
2-
31
fn main() {
42
let mut x: &[_] = &[1, 2, 3, 4];
53

tests/run-pass/issue-17877.rs

-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
#![feature(slice_patterns)]
2-
31
fn main() {
42
assert_eq!(match [0u8; 16*1024] {
53
_ => 42_usize,

tests/run-pass/subslice_array.rs

-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
#![feature(slice_patterns)]
2-
31
fn bar(a: &'static str, b: &'static str) -> [&'static str; 4] {
42
[a, b, b, a]
53
}

tests/run-pass/vec-matching-fold.rs

-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
#![feature(slice_patterns)]
2-
31
use std::fmt::Debug;
42

53
fn foldl<T, U, F>(values: &[T],

0 commit comments

Comments
 (0)