Skip to content

Commit cea8d89

Browse files
committed
---
yaml --- r: 170846 b: refs/heads/try c: 4016c72 h: refs/heads/master v: v3
1 parent 3c59f74 commit cea8d89

File tree

112 files changed

+18
-220
lines changed

Some content is hidden

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

112 files changed

+18
-220
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
refs/heads/master: 73a25f55ad748b4d3516417c711b99ce446591af
33
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
44
refs/heads/snap-stage3: 5b3cd3900ceda838f5798c30ab96ceb41f962534
5-
refs/heads/try: 6e3d78f06fc78e6ad58379824be2d7fed525655a
5+
refs/heads/try: 4016c729f18ce5aa8976fc16617b9368437c28db
66
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
77
refs/heads/dist-snap: ba4081a5a8573875fed17545846f6f6902c8ba8d
88
refs/tags/release-0.2: c870d2dffb391e14efb05aa27898f1f6333a9596

branches/try/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;

branches/try/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

branches/try/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
}

branches/try/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> {

branches/try/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

branches/try/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};

branches/try/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;

branches/try/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;

branches/try/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

branches/try/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"]

branches/try/src/test/compile-fail/associated-types-bound-failure.rs

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

1111
// Test equality constraints on associated types in a where clause.
1212

13-
#![feature(associated_types)]
14-
1513
pub trait ToInt {
1614
fn to_int(&self) -> int;
1715
}

branches/try/src/test/compile-fail/associated-types-eq-1.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,6 @@
1111
// Test equality constraints on associated types. Check that unsupported syntax
1212
// does not ICE.
1313

14-
#![feature(associated_types)]
15-
1614
pub trait Foo {
1715
type A;
1816
fn boo(&self) -> <Self as Foo>::A;

branches/try/src/test/compile-fail/associated-types-eq-2.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,6 @@
1111
// Test equality constraints on associated types. Check we get an error when an
1212
// equality constraint is used in a qualified path.
1313

14-
#![feature(associated_types)]
15-
1614
pub trait Foo {
1715
type A;
1816
fn boo(&self) -> <Self as Foo>::A;

branches/try/src/test/compile-fail/associated-types-eq-3.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,6 @@
1111
// Test equality constraints on associated types. Check we get type errors
1212
// where we should.
1313

14-
#![feature(associated_types)]
15-
1614
pub trait Foo {
1715
type A;
1816
fn boo(&self) -> <Self as Foo>::A;

branches/try/src/test/compile-fail/associated-types-eq-expr-path.rs

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

1111
// Check that an associated type cannot be bound in an expression path.
1212

13-
#![feature(associated_types)]
14-
1513
trait Foo {
1614
type A;
1715
fn bar() -> int;

branches/try/src/test/compile-fail/associated-types-eq-hr.rs

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

1111
// Check testing of equality constraints in a higher-ranked context.
1212

13-
#![feature(associated_types)]
14-
1513
pub trait TheTrait<T> {
1614
type A;
1715

branches/try/src/test/compile-fail/associated-types-for-unimpl-trait.rs

Lines changed: 0 additions & 3 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
trait Get {
1412
type Value;
1513
fn get(&self) -> <Self as Get>::Value;
@@ -22,4 +20,3 @@ trait Other {
2220

2321
fn main() {
2422
}
25-

branches/try/src/test/compile-fail/associated-types-in-ambiguous-context.rs

Lines changed: 0 additions & 3 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
trait Get {
1412
type Value;
1513
fn get(&self) -> <Self as Get>::Value;
@@ -26,4 +24,3 @@ trait Grab {
2624

2725
fn main() {
2826
}
29-

branches/try/src/test/compile-fail/associated-types-incomplete-object.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,6 @@
1111
// Check that the user gets an errror if they omit a binding from an
1212
// object type.
1313

14-
#![feature(associated_types)]
15-
1614
pub trait Foo {
1715
type A;
1816
type B;

branches/try/src/test/compile-fail/associated-types-issue-20346.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@
1111
// Test that we reliably check the value of the associated type.
1212

1313
#![crate_type = "lib"]
14-
#![feature(associated_types)]
1514
#![no_implicit_prelude]
1615

1716
use std::option::Option::{self, None, Some};

branches/try/src/test/compile-fail/associated-types-no-suitable-bound.rs

Lines changed: 0 additions & 3 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
trait Get {
1412
type Value;
1513
fn get(&self) -> <Self as Get>::Value;
@@ -26,4 +24,3 @@ impl Struct {
2624

2725
fn main() {
2826
}
29-

branches/try/src/test/compile-fail/associated-types-no-suitable-supertrait.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
// Check that we get an error when you use `<Self as Get>::Value` in
1412
// the trait definition but `Self` does not, in fact, implement `Get`.
1513

branches/try/src/test/compile-fail/associated-types-path-1.rs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,6 @@
1010

1111
// Test that we have one and only one associated type per ref.
1212

13-
#![feature(associated_types)]
14-
1513
pub trait Foo {
1614
type A;
1715
}
@@ -23,4 +21,3 @@ pub fn f1<T>(a: T, x: T::A) {} //~ERROR associated type `A` not found
2321
pub fn f2<T: Foo + Bar>(a: T, x: T::A) {} //~ERROR ambiguous associated type `A`
2422

2523
pub fn main() {}
26-

branches/try/src/test/compile-fail/associated-types-path-2.rs

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

1111
// Test type checking of uses of associated types via sugary paths.
1212

13-
#![feature(associated_types)]
14-
1513
pub trait Foo {
1614
type A;
1715
}

branches/try/src/test/compile-fail/associated-types-project-from-hrtb-explicit.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,6 @@
1111
// Test you can't use a higher-ranked trait bound inside of a qualified
1212
// path (just won't parse).
1313

14-
#![feature(associated_types)]
15-
1614
pub trait Foo<T> {
1715
type A;
1816

branches/try/src/test/compile-fail/associated-types-project-from-hrtb-in-fn-body.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,6 @@
1111
// Check projection of an associated type out of a higher-ranked
1212
// trait-bound in the context of a function body.
1313

14-
#![feature(associated_types)]
15-
1614
pub trait Foo<T> {
1715
type A;
1816

branches/try/src/test/compile-fail/associated-types-project-from-hrtb-in-fn.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,6 @@
1111
// Check projection of an associated type out of a higher-ranked trait-bound
1212
// in the context of a function signature.
1313

14-
#![feature(associated_types)]
15-
1614
pub trait Foo<T> {
1715
type A;
1816

branches/try/src/test/compile-fail/associated-types-project-from-hrtb-in-struct.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,6 @@
1111
// Check projection of an associated type out of a higher-ranked trait-bound
1212
// in the context of a struct definition.
1313

14-
#![feature(associated_types)]
15-
1614
pub trait Foo<T> {
1715
type A;
1816

branches/try/src/test/compile-fail/associated-types-project-from-hrtb-in-trait-method.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,6 @@
1111
// Check projection of an associated type out of a higher-ranked trait-bound
1212
// in the context of a method definition in a trait.
1313

14-
#![feature(associated_types)]
15-
1614
pub trait Foo<T> {
1715
type A;
1816

branches/try/src/test/compile-fail/associated-types-unconstrained.rs

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

1111
// Check that an associated type cannot be bound in an expression path.
1212

13-
#![feature(associated_types)]
14-
1513
trait Foo {
1614
type A;
1715
fn bar() -> int;

branches/try/src/test/compile-fail/associated-types-unsized.rs

Lines changed: 0 additions & 3 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
trait Get {
1412
type Sized? Value;
1513
fn get(&self) -> <Self as Get>::Value;
@@ -21,4 +19,3 @@ fn foo<T:Get>(t: T) {
2119

2220
fn main() {
2321
}
24-

branches/try/src/test/compile-fail/binop-consume-args.rs

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

1111
// Test that binary operators consume their arguments
1212

13-
#![feature(associated_types, default_type_params)]
13+
#![feature(default_type_params)]
1414

1515
use std::ops::{Add, Sub, Mul, Div, Rem, BitAnd, BitXor, BitOr, Shl, Shr};
1616

branches/try/src/test/compile-fail/binop-move-semantics.rs

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

1111
// Test that move restrictions are enforced on overloaded binary operations
1212

13-
#![feature(associated_types, default_type_params)]
13+
#![feature(default_type_params)]
1414

1515
use std::ops::Add;
1616

branches/try/src/test/compile-fail/borrowck-borrow-overloaded-auto-deref-mut.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,6 @@
1111
// Test how overloaded deref interacts with borrows when DerefMut
1212
// is implemented.
1313

14-
#![feature(associated_types)]
15-
1614
use std::ops::{Deref, DerefMut};
1715

1816
struct Own<T> {

branches/try/src/test/compile-fail/borrowck-borrow-overloaded-auto-deref.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,6 @@
1111
// Test how overloaded deref interacts with borrows when only
1212
// Deref and not DerefMut is implemented.
1313

14-
#![feature(associated_types)]
15-
1614
use std::ops::Deref;
1715

1816
struct Rc<T> {

branches/try/src/test/compile-fail/borrowck-borrow-overloaded-deref-mut.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,6 @@
1111
// Test how overloaded deref interacts with borrows when DerefMut
1212
// is implemented.
1313

14-
#![feature(associated_types)]
15-
1614
use std::ops::{Deref, DerefMut};
1715

1816
struct Own<T> {

branches/try/src/test/compile-fail/borrowck-borrow-overloaded-deref.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,6 @@
1111
// Test how overloaded deref interacts with borrows when only
1212
// Deref and not DerefMut is implemented.
1313

14-
#![feature(associated_types)]
15-
1614
use std::ops::Deref;
1715

1816
struct Rc<T> {

branches/try/src/test/compile-fail/borrowck-loan-in-overloaded-op.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::Add;
1412

1513
#[derive(Clone)]

branches/try/src/test/compile-fail/borrowck-loan-rcvr-overloaded-op.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
// option. This file may not be copied, modified, or distributed
99
// except according to those terms.
1010

11-
#![feature(associated_types, default_type_params)]
11+
#![feature(default_type_params)]
1212

1313
use std::ops::Add;
1414

branches/try/src/test/compile-fail/borrowck-overloaded-index-2.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::Index;
1412

1513
struct MyVec<T> {

0 commit comments

Comments
 (0)