Skip to content

Remove managed_box gate from tests #16021

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jul 27, 2014
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion src/test/auxiliary/cci_nested_lib.rs
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@

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

#![feature(managed_boxes)]

use std::gc::GC;

Expand Down
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
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
Loading