Skip to content

Commit

Permalink
Remove managed_box gate from tests
Browse files Browse the repository at this point in the history
No longer does anything.
  • Loading branch information
brson committed Jul 27, 2014
1 parent 3d7a7f6 commit aa48654
Show file tree
Hide file tree
Showing 213 changed files with 23 additions and 213 deletions.
1 change: 0 additions & 1 deletion src/test/auxiliary/cci_nested_lib.rs
Expand Up @@ -8,7 +8,6 @@
// option. This file may not be copied, modified, or distributed
// except according to those terms.

#![feature(managed_boxes)]

use std::cell::RefCell;
use std::gc::{Gc, GC};
Expand Down
1 change: 0 additions & 1 deletion src/test/auxiliary/crate-method-reexport-grrrrrrr2.rs
Expand Up @@ -8,7 +8,6 @@
// option. This file may not be copied, modified, or distributed
// except according to those terms.

#![feature(managed_boxes)]
#![crate_id="crate_method_reexport_grrrrrrr2"]

pub use name_pool::add;
Expand Down
1 change: 0 additions & 1 deletion src/test/auxiliary/issue-2631-a.rs
Expand Up @@ -8,7 +8,6 @@
// option. This file may not be copied, modified, or distributed
// except according to those terms.

#![feature(managed_boxes)]
#![crate_id="req"]
#![crate_type = "lib"]

Expand Down
1 change: 0 additions & 1 deletion src/test/auxiliary/issue-5521.rs
Expand Up @@ -8,7 +8,6 @@
// option. This file may not be copied, modified, or distributed
// except according to those terms.

#![feature(managed_boxes)]

use std::collections::HashMap;
use std::gc::Gc;
Expand Down
2 changes: 1 addition & 1 deletion src/test/auxiliary/macro_crate_test.rs
Expand Up @@ -10,7 +10,7 @@

// force-host

#![feature(globs, plugin_registrar, macro_rules, quote, managed_boxes)]
#![feature(globs, plugin_registrar, macro_rules, quote)]

extern crate syntax;
extern crate rustc;
Expand Down
1 change: 0 additions & 1 deletion src/test/bench/sudoku.rs
Expand Up @@ -10,7 +10,6 @@

// ignore-pretty very bad with line comments

#![feature(managed_boxes)]
#![allow(non_snake_case_functions)]

use std::io;
Expand Down
2 changes: 1 addition & 1 deletion src/test/bench/task-perf-alloc-unwind.rs
Expand Up @@ -8,7 +8,7 @@
// option. This file may not be copied, modified, or distributed
// except according to those terms.

#![feature(managed_boxes, unsafe_destructor)]
#![feature(unsafe_destructor)]

extern crate collections;
extern crate time;
Expand Down
1 change: 0 additions & 1 deletion src/test/compile-fail/auto-ref-slice-plus-ref.rs
Expand Up @@ -8,7 +8,6 @@
// option. This file may not be copied, modified, or distributed
// except according to those terms.

#![feature(managed_boxes)]

fn main() {

Expand Down
1 change: 0 additions & 1 deletion src/test/compile-fail/autoderef-full-lval.rs
Expand Up @@ -8,7 +8,6 @@
// option. This file may not be copied, modified, or distributed
// except according to those terms.

#![feature(managed_boxes)]

extern crate debug;

Expand Down
Expand Up @@ -8,7 +8,6 @@
// option. This file may not be copied, modified, or distributed
// except according to those terms.

#![feature(managed_boxes)]

use std::gc::GC;

Expand Down
1 change: 0 additions & 1 deletion src/test/compile-fail/borrowck-loan-rcvr-overloaded-op.rs
Expand Up @@ -8,7 +8,6 @@
// option. This file may not be copied, modified, or distributed
// except according to those terms.

#![feature(managed_boxes)]

struct Point {
x: int,
Expand Down
1 change: 0 additions & 1 deletion src/test/compile-fail/borrowck-loan-rcvr.rs
Expand Up @@ -8,7 +8,6 @@
// option. This file may not be copied, modified, or distributed
// except according to those terms.

#![feature(managed_boxes)]

struct point { x: int, y: int }

Expand Down
Expand Up @@ -11,7 +11,6 @@
// Verify that managed pointers scope is treated like ownoed pointers.
// regresion test for #11586

#![feature(managed_boxes)]

use std::gc::{GC, Gc};

Expand Down
1 change: 0 additions & 1 deletion src/test/compile-fail/borrowck-preserve-box-in-field.rs
Expand Up @@ -10,7 +10,6 @@

// exec-env:RUST_POISON_ON_FREE=1

#![feature(managed_boxes)]

use std::gc::GC;

Expand Down
1 change: 0 additions & 1 deletion src/test/compile-fail/borrowck-preserve-box-in-uniq.rs
Expand Up @@ -10,7 +10,6 @@

// exec-env:RUST_POISON_ON_FREE=1

#![feature(managed_boxes)]

use std::gc::GC;

Expand Down
1 change: 0 additions & 1 deletion src/test/compile-fail/borrowck-preserve-box.rs
Expand Up @@ -10,7 +10,6 @@

// exec-env:RUST_POISON_ON_FREE=1

#![feature(managed_boxes)]

use std::gc::GC;

Expand Down
1 change: 0 additions & 1 deletion src/test/compile-fail/borrowck-preserve-cond-box.rs
Expand Up @@ -10,7 +10,6 @@

// exec-env:RUST_POISON_ON_FREE=1

#![feature(managed_boxes)]

use std::gc::GC;

Expand Down
1 change: 0 additions & 1 deletion src/test/compile-fail/borrowck-preserve-expl-deref.rs
Expand Up @@ -10,7 +10,6 @@

// exec-env:RUST_POISON_ON_FREE=1

#![feature(managed_boxes)]

use std::gc::GC;

Expand Down
1 change: 0 additions & 1 deletion src/test/compile-fail/box-static-bound.rs
Expand Up @@ -8,7 +8,6 @@
// option. This file may not be copied, modified, or distributed
// except according to those terms.

#![feature(managed_boxes)]

use std::gc::{Gc, GC};

Expand Down
1 change: 0 additions & 1 deletion src/test/compile-fail/check-static-values-constraints.rs
Expand Up @@ -7,7 +7,6 @@
// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
// option. This file may not be copied, modified, or distributed
// except according to those terms.
#![feature(managed_boxes)]

// Verifies all possible restrictions for static items values.

Expand Down
1 change: 0 additions & 1 deletion src/test/compile-fail/drop-on-non-struct.rs
Expand Up @@ -8,7 +8,6 @@
// option. This file may not be copied, modified, or distributed
// except according to those terms.

#![feature(managed_boxes)]


type Foo = Vec<u8>;
Expand Down
1 change: 0 additions & 1 deletion src/test/compile-fail/issue-2063-resource.rs
Expand Up @@ -8,7 +8,6 @@
// option. This file may not be copied, modified, or distributed
// except according to those terms.

#![feature(managed_boxes)]

use std::gc::Gc;

Expand Down
1 change: 0 additions & 1 deletion src/test/compile-fail/issue-3668.rs
Expand Up @@ -8,7 +8,6 @@
// option. This file may not be copied, modified, or distributed
// except according to those terms.

#![feature(managed_boxes)]

use std::gc::Gc;

Expand Down
1 change: 0 additions & 1 deletion src/test/compile-fail/issue-3763.rs
Expand Up @@ -8,7 +8,6 @@
// option. This file may not be copied, modified, or distributed
// except according to those terms.

#![feature(managed_boxes)]

use std::gc::GC;

Expand Down
1 change: 0 additions & 1 deletion src/test/compile-fail/issue-7061.rs
Expand Up @@ -8,7 +8,6 @@
// option. This file may not be copied, modified, or distributed
// except according to those terms.

#![feature(managed_boxes)]

use std::gc::Gc;

Expand Down
1 change: 0 additions & 1 deletion src/test/compile-fail/issue-7364.rs
Expand Up @@ -8,7 +8,6 @@
// option. This file may not be copied, modified, or distributed
// except according to those terms.

#![feature(managed_boxes)]

use std::cell::RefCell;
use std::gc::{Gc, GC};
Expand Down
1 change: 0 additions & 1 deletion src/test/compile-fail/kindck-copy.rs
Expand Up @@ -10,7 +10,6 @@

// Test which of the builtin types are considered POD.

#![feature(managed_boxes)]

use std::rc::Rc;
use std::gc::Gc;
Expand Down
1 change: 0 additions & 1 deletion src/test/compile-fail/kindck-destructor-owned.rs
Expand Up @@ -8,7 +8,6 @@
// option. This file may not be copied, modified, or distributed
// except according to those terms.

#![feature(managed_boxes)]

use std::gc::Gc;

Expand Down
1 change: 0 additions & 1 deletion src/test/compile-fail/kindck-nonsendable-1.rs
Expand Up @@ -8,7 +8,6 @@
// option. This file may not be copied, modified, or distributed
// except according to those terms.

#![feature(managed_boxes)]

use std::gc::{Gc, GC};

Expand Down
1 change: 0 additions & 1 deletion src/test/compile-fail/lint-heap-memory.rs
Expand Up @@ -8,7 +8,6 @@
// option. This file may not be copied, modified, or distributed
// except according to those terms.

#![feature(managed_boxes)]
#![forbid(heap_memory)]
#![allow(dead_code)]

Expand Down
1 change: 0 additions & 1 deletion src/test/compile-fail/lint-managed-heap-memory.rs
Expand Up @@ -9,7 +9,6 @@
// except according to those terms.

#![allow(dead_code)]
#![feature(managed_boxes)]
#![forbid(managed_heap_memory)]

use std::gc::{Gc, GC};
Expand Down
1 change: 0 additions & 1 deletion src/test/compile-fail/moves-based-on-type-exprs.rs
Expand Up @@ -11,7 +11,6 @@
// Tests that references to move-by-default values trigger moves when
// they occur as part of various kinds of expressions.

#![feature(managed_boxes)]

struct Foo<A> { f: A }
fn guard(_s: String) -> bool {fail!()}
Expand Down
2 changes: 1 addition & 1 deletion src/test/compile-fail/no-send-res-ports.rs
Expand Up @@ -8,7 +8,7 @@
// option. This file may not be copied, modified, or distributed
// except according to those terms.

#![feature(managed_boxes, unsafe_destructor)]
#![feature(unsafe_destructor)]

extern crate debug;

Expand Down
1 change: 0 additions & 1 deletion src/test/compile-fail/occurs-check.rs
Expand Up @@ -8,7 +8,6 @@
// option. This file may not be copied, modified, or distributed
// except according to those terms.

#![feature(managed_boxes)]

use std::gc::GC;

Expand Down
2 changes: 1 addition & 1 deletion src/test/compile-fail/pinned-deep-copy.rs
Expand Up @@ -8,7 +8,7 @@
// option. This file may not be copied, modified, or distributed
// except according to those terms.

#![feature(managed_boxes, unsafe_destructor)]
#![feature(unsafe_destructor)]

extern crate debug;

Expand Down
1 change: 0 additions & 1 deletion src/test/compile-fail/regions-appearance-constraint.rs
Expand Up @@ -10,7 +10,6 @@

// Test no-special rooting is used for managed boxes

#![feature(managed_boxes)]

use std::gc::GC;

Expand Down
Expand Up @@ -8,7 +8,6 @@
// option. This file may not be copied, modified, or distributed
// except according to those terms.

#![feature(managed_boxes)]

use std::gc::Gc;

Expand Down
Expand Up @@ -8,7 +8,6 @@
// option. This file may not be copied, modified, or distributed
// except according to those terms.

#![feature(managed_boxes)]

use std::gc::Gc;

Expand Down
Expand Up @@ -8,7 +8,6 @@
// option. This file may not be copied, modified, or distributed
// except according to those terms.

#![feature(managed_boxes)]

struct invariant<'a> {
f: |x: &mut &'a int|: 'static
Expand Down
Expand Up @@ -8,7 +8,6 @@
// option. This file may not be copied, modified, or distributed
// except according to those terms.

#![feature(managed_boxes)]

struct invariant<'a> {
f: ||: 'static -> &mut &'a int
Expand Down
1 change: 0 additions & 1 deletion src/test/compile-fail/regions-infer-paramd-indirect.rs
Expand Up @@ -8,7 +8,6 @@
// option. This file may not be copied, modified, or distributed
// except according to those terms.

#![feature(managed_boxes)]

// Check that we correctly infer that b and c must be region
// parameterized because they reference a which requires a region.
Expand Down
1 change: 0 additions & 1 deletion src/test/compile-fail/static-region-bound.rs
Expand Up @@ -8,7 +8,6 @@
// option. This file may not be copied, modified, or distributed
// except according to those terms.

#![feature(managed_boxes)]

use std::gc::GC;

Expand Down
1 change: 0 additions & 1 deletion src/test/compile-fail/struct-field-assignability.rs
Expand Up @@ -10,7 +10,6 @@
// option. This file may not be copied, modified, or distributed
// except according to those terms.

#![feature(managed_boxes)]

use std::gc::{Gc, GC};

Expand Down
1 change: 0 additions & 1 deletion src/test/compile-fail/terr-sorts.rs
Expand Up @@ -8,7 +8,6 @@
// option. This file may not be copied, modified, or distributed
// except according to those terms.

#![feature(managed_boxes)]

use std::gc::Gc;

Expand Down
1 change: 0 additions & 1 deletion src/test/compile-fail/trait-impl-method-mismatch.rs
Expand Up @@ -8,7 +8,6 @@
// option. This file may not be copied, modified, or distributed
// except according to those terms.

#![feature(managed_boxes)]

use std::gc::Gc;

Expand Down
1 change: 0 additions & 1 deletion src/test/compile-fail/unique-unique-kind.rs
Expand Up @@ -8,7 +8,6 @@
// option. This file may not be copied, modified, or distributed
// except according to those terms.

#![feature(managed_boxes)]

use std::gc::GC;

Expand Down
2 changes: 1 addition & 1 deletion src/test/compile-fail/unique-vec-res.rs
Expand Up @@ -8,7 +8,7 @@
// option. This file may not be copied, modified, or distributed
// except according to those terms.

#![feature(managed_boxes, unsafe_destructor)]
#![feature(unsafe_destructor)]

extern crate debug;
use std::cell::Cell;
Expand Down
1 change: 0 additions & 1 deletion src/test/compile-fail/unsendable-class.rs
Expand Up @@ -8,7 +8,6 @@
// option. This file may not be copied, modified, or distributed
// except according to those terms.

#![feature(managed_boxes)]

// Test that a class with an unsendable field can't be
// sent
Expand Down
1 change: 0 additions & 1 deletion src/test/debuginfo/borrowed-managed-basic.rs
Expand Up @@ -10,7 +10,6 @@

// ignore-android: FIXME(#10381)

#![feature(managed_boxes)]

// Gdb doesn't know about UTF-32 character encoding and will print a rust char as only
// its numerical value.
Expand Down

5 comments on commit aa48654

@bors
Copy link
Contributor

@bors bors commented on aa48654 Jul 27, 2014

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

saw approval from pcwalton
at brson@aa48654

@bors
Copy link
Contributor

@bors bors commented on aa48654 Jul 27, 2014

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

merging brson/rust/mb = aa48654 into auto

@bors
Copy link
Contributor

@bors bors commented on aa48654 Jul 27, 2014

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

brson/rust/mb = aa48654 merged ok, testing candidate = 2de3fad

@bors
Copy link
Contributor

@bors bors commented on aa48654 Jul 27, 2014

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fast-forwarding master to auto = 2de3fad

Please sign in to comment.