Skip to content

Commit 4016c72

Browse files
committed
Remove use of associated_types feature gate from tests.
1 parent 6e3d78f commit 4016c72

File tree

111 files changed

+17
-219
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

111 files changed

+17
-219
lines changed

src/test/auxiliary/associated-types-cc-lib.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@
1212
// cross-crate scenario.
1313

1414
#![crate_type="lib"]
15-
#![feature(associated_types)]
1615

1716
pub trait Bar {
1817
type T;

src/test/auxiliary/issue-16643.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
#![crate_type = "lib"]
12-
#![feature(associated_types)]
1312

1413
pub struct TreeBuilder<H>;
1514

src/test/auxiliary/issue_20389.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,6 @@
88
// option. This file may not be copied, modified, or distributed
99
// except according to those terms.
1010

11-
#![feature(associated_types)]
12-
1311
pub trait T {
1412
type C;
1513
}

src/test/auxiliary/overloaded_autoderef_xc.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,6 @@
88
// option. This file may not be copied, modified, or distributed
99
// except according to those terms.
1010

11-
#![feature(associated_types)]
12-
1311
use std::ops::Deref;
1412

1513
struct DerefWithHelper<H, T> {

src/test/auxiliary/trait_inheritance_overloading_xc.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,6 @@
88
// option. This file may not be copied, modified, or distributed
99
// except according to those terms.
1010

11-
#![feature(associated_types)]
12-
1311
use std::cmp::PartialEq;
1412
use std::ops::{Add, Sub, Mul};
1513

src/test/bench/shootout-fasta.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
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(associated_types, slicing_syntax)]
41+
#![feature(slicing_syntax)]
4242

4343
use std::cmp::min;
4444
use std::io::{BufferedWriter, File};

src/test/bench/shootout-k-nucleotide.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(associated_types, slicing_syntax)]
43+
#![feature(slicing_syntax)]
4444

4545
use std::ascii::OwnedAsciiExt;
4646
use std::iter::repeat;

src/test/bench/shootout-meteor.rs

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

4141
// no-pretty-expanded FIXME #15189
4242

43-
#![feature(associated_types)]
44-
4543
use std::iter::repeat;
4644
use std::sync::Arc;
4745
use std::sync::mpsc::channel;

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(associated_types, slicing_syntax, unboxed_closures)]
43+
#![feature(slicing_syntax, unboxed_closures)]
4444

4545
extern crate libc;
4646

src/test/compile-fail/associated-types-ICE-when-projecting-out-of-err.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
// just propagate the error.
1313

1414
#![crate_type = "lib"]
15-
#![feature(associated_types, default_type_params, lang_items)]
15+
#![feature(default_type_params, lang_items)]
1616
#![no_std]
1717

1818
#[lang="sized"]

0 commit comments

Comments
 (0)