Skip to content

Commit ed4bebd

Browse files
author
Jorge Aparicio
committed
remove some slicing_syntax feature gates
1 parent 8327bcc commit ed4bebd

27 files changed

+1
-48
lines changed

src/test/bench/shootout-fannkuch-redux.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,6 @@
3838
// ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
3939
// OF THE POSSIBILITY OF SUCH DAMAGE.
4040

41-
#![feature(slicing_syntax)]
42-
4341
use std::{cmp, iter, mem};
4442
use std::thread::Thread;
4543

src/test/bench/shootout-fasta-redux.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,6 @@
3838
// ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
3939
// OF THE POSSIBILITY OF SUCH DAMAGE.
4040

41-
#![feature(slicing_syntax)]
42-
4341
use std::cmp::min;
4442
use std::io::{stdout, IoResult};
4543
use std::iter::repeat;

src/test/bench/shootout-fasta.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,6 @@
3838
// ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
3939
// OF THE POSSIBILITY OF SUCH DAMAGE.
4040

41-
#![feature(slicing_syntax)]
42-
4341
use std::cmp::min;
4442
use std::io::{BufferedWriter, File};
4543
use std::io;

src/test/bench/shootout-k-nucleotide-pipes.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,6 @@
1313

1414
// multi tasking k-nucleotide
1515

16-
#![feature(slicing_syntax)]
17-
1816
use std::ascii::{AsciiExt, OwnedAsciiExt};
1917
use std::cmp::Ordering::{self, Less, Greater, Equal};
2018
use std::collections::HashMap;

src/test/bench/shootout-k-nucleotide.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,6 @@
4040

4141
// ignore-android see #10393 #13206
4242

43-
#![feature(slicing_syntax)]
44-
4543
use std::ascii::OwnedAsciiExt;
4644
use std::iter::repeat;
4745
use std::slice;

src/test/bench/shootout-regex-dna.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,6 @@
4141
// ignore-stage1
4242
// ignore-cross-compile #12102
4343

44-
#![feature(plugin, slicing_syntax)]
45-
4644
extern crate regex;
4745

4846
use std::io;

src/test/bench/shootout-reverse-complement.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040

4141
// ignore-android see #10393 #13206
4242

43-
#![feature(slicing_syntax, unboxed_closures)]
43+
#![feature(unboxed_closures)]
4444

4545
extern crate libc;
4646

src/test/compile-fail/packed-struct-generic-transmute.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,6 @@
1515

1616
// error-pattern: transmute called on types with different size
1717

18-
#![feature(slicing_syntax)]
19-
2018
use std::mem;
2119

2220
#[repr(packed)]

src/test/compile-fail/range-1.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@
99
// except according to those terms.
1010

1111
// Test range syntax - type errors.
12-
#![feature(slicing_syntax)]
1312

1413
pub fn main() {
1514
// Mixed types.

src/test/compile-fail/range-2.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@
99
// except according to those terms.
1010

1111
// Test range syntax - borrow errors.
12-
#![feature(slicing_syntax)]
1312

1413
pub fn main() {
1514
let r = {

0 commit comments

Comments
 (0)