Remove managed_box gate from tests

No longer does anything.
This commit is contained in:
Brian Anderson 2014-07-26 21:05:03 -07:00
parent 3d7a7f645f
commit aa48654740
213 changed files with 23 additions and 213 deletions

View File

@ -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};

View File

@ -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;

View File

@ -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"]

View File

@ -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;

View File

@ -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;

View File

@ -10,7 +10,6 @@
// ignore-pretty very bad with line comments
#![feature(managed_boxes)]
#![allow(non_snake_case_functions)]
use std::io;

View File

@ -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;

View File

@ -8,7 +8,6 @@
// option. This file may not be copied, modified, or distributed
// except according to those terms.
#![feature(managed_boxes)]
fn main() {

View File

@ -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;

View File

@ -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;

View File

@ -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,

View File

@ -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 }

View File

@ -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};

View File

@ -10,7 +10,6 @@
// exec-env:RUST_POISON_ON_FREE=1
#![feature(managed_boxes)]
use std::gc::GC;

View File

@ -10,7 +10,6 @@
// exec-env:RUST_POISON_ON_FREE=1
#![feature(managed_boxes)]
use std::gc::GC;

View File

@ -10,7 +10,6 @@
// exec-env:RUST_POISON_ON_FREE=1
#![feature(managed_boxes)]
use std::gc::GC;

View File

@ -10,7 +10,6 @@
// exec-env:RUST_POISON_ON_FREE=1
#![feature(managed_boxes)]
use std::gc::GC;

View File

@ -10,7 +10,6 @@
// exec-env:RUST_POISON_ON_FREE=1
#![feature(managed_boxes)]
use std::gc::GC;

View File

@ -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};

View File

@ -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.

View File

@ -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>;

View File

@ -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;

View File

@ -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;

View File

@ -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;

View File

@ -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;

View File

@ -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};

View File

@ -10,7 +10,6 @@
// Test which of the builtin types are considered POD.
#![feature(managed_boxes)]
use std::rc::Rc;
use std::gc::Gc;

View File

@ -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;

View File

@ -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};

View File

@ -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)]

View File

@ -9,7 +9,6 @@
// except according to those terms.
#![allow(dead_code)]
#![feature(managed_boxes)]
#![forbid(managed_heap_memory)]
use std::gc::{Gc, GC};

View File

@ -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!()}

View File

@ -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;

View File

@ -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;

View File

@ -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;

View File

@ -10,7 +10,6 @@
// Test no-special rooting is used for managed boxes
#![feature(managed_boxes)]
use std::gc::GC;

View File

@ -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;

View File

@ -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;

View File

@ -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

View File

@ -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

View File

@ -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.

View File

@ -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;

View File

@ -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};

View File

@ -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;

View File

@ -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;

View File

@ -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;

View File

@ -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;

View File

@ -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

View File

@ -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.

View File

@ -82,7 +82,6 @@
// lldb-command:print *unique_val_interior_ref_2
// lldb-check:[...]$9 = 26.5
#![feature(managed_boxes)]
#![allow(unused_variable)]
use std::gc::GC;

View File

@ -10,7 +10,6 @@
// ignore-android: FIXME(#10381)
#![feature(managed_boxes)]
// compile-flags:-g

View File

@ -40,7 +40,6 @@
// lldb-command:print d->val
// lldb-check:[...]$3 = false
#![feature(managed_boxes)]
#![allow(unused_variable)]
use std::gc::GC;

View File

@ -47,7 +47,6 @@
// lldb-command:print managed_dtor->val
// lldb-check:[...]$3 = StructWithDestructor { x: 33, y: 333, z: 3333, w: 33333 }
#![feature(managed_boxes)]
#![allow(unused_variable)]
use std::gc::GC;

View File

@ -10,7 +10,6 @@
// ignore-android: FIXME(#10381)
#![feature(managed_boxes)]
// compile-flags:-g

View File

@ -42,7 +42,7 @@
// lldb-check:[...]$2 = TheOnlyCase(-9747455)
#![allow(unused_variable)]
#![feature(struct_variant, managed_boxes)]
#![feature(struct_variant)]
use std::gc::GC;

View File

@ -10,7 +10,6 @@
// ignore-android: FIXME(#10381)
#![feature(managed_boxes)]
// compile-flags:-g

View File

@ -10,7 +10,6 @@
// ignore-android: FIXME(#10381)
#![feature(managed_boxes)]
// compile-flags:-g

View File

@ -12,7 +12,6 @@
// ignore-android: FIXME(#10381)
// ignore-lldb
#![feature(managed_boxes)]
// compile-flags:-g
// gdb-command:set print pretty off

View File

@ -88,7 +88,6 @@
// lldb-check:[...]$13 = 8
// lldb-command:continue
#![feature(managed_boxes)]
#![allow(unused_variable)]
use std::gc::GC;

View File

@ -49,7 +49,6 @@
// lldb-command:print managed->val
// lldb-check:[...]$5 = 7
#![feature(managed_boxes)]
#![allow(unused_variable)]
use std::gc::GC;

View File

@ -12,7 +12,6 @@
// previously ambiguous (e.g. 'if true { } *val;' gets parsed as a
// binop)
#![feature(managed_boxes)]
use std::cell::Cell;
use std::gc::GC;

View File

@ -8,7 +8,6 @@
// option. This file may not be copied, modified, or distributed
// except according to those terms.
#![feature(managed_boxes)]
// error-pattern:meep

View File

@ -8,7 +8,6 @@
// option. This file may not be copied, modified, or distributed
// except according to those terms.
#![feature(managed_boxes)]
// error-pattern:explicit failure
// Issue #2272 - unwind this without leaking the unique pointer

View File

@ -10,7 +10,6 @@
// error-pattern:fail
#![feature(managed_boxes)]
use std::gc::GC;

View File

@ -8,7 +8,6 @@
// option. This file may not be copied, modified, or distributed
// except according to those terms.
#![feature(managed_boxes)]
// error-pattern:fail

View File

@ -10,7 +10,6 @@
// error-pattern:fail
#![feature(managed_boxes)]
extern crate debug;

View File

@ -10,7 +10,6 @@
// error-pattern:fail
#![feature(managed_boxes)]
extern crate debug;

View File

@ -10,7 +10,6 @@
// error-pattern:fail
#![feature(managed_boxes)]
extern crate debug;

View File

@ -10,7 +10,6 @@
// error-pattern:fail
#![feature(managed_boxes)]
extern crate debug;

View File

@ -10,7 +10,6 @@
// error-pattern:fail
#![feature(managed_boxes)]
extern crate debug;

View File

@ -10,7 +10,6 @@
// error-pattern:fail
#![feature(managed_boxes)]
use std::gc::GC;

View File

@ -10,7 +10,6 @@
// error-pattern:fail
#![feature(managed_boxes)]
use std::gc::GC;

View File

@ -10,7 +10,6 @@
// error-pattern:fail
#![feature(managed_boxes)]
use std::gc::Gc;

View File

@ -10,7 +10,6 @@
// error-pattern:fail
#![feature(managed_boxes)]
use std::gc::Gc;

View File

@ -10,7 +10,6 @@
// error-pattern:fail
#![feature(managed_boxes)]
#![allow(unreachable_code)]
#![allow(unused_variable)]

View File

@ -10,7 +10,6 @@
// error-pattern:fail
#![feature(managed_boxes)]
use std::gc::{GC};

View File

@ -10,7 +10,6 @@
// error-pattern:fail
#![feature(managed_boxes)]
use std::gc::{Gc, GC};

View File

@ -11,7 +11,6 @@
// Issue #945
// error-pattern:non-exhaustive match failure
#![feature(managed_boxes)]
use std::gc::GC;

View File

@ -11,7 +11,6 @@
// exec-env:RUST_NEWRT=1
// error-pattern:fail
#![feature(managed_boxes)]
use std::vec;
use std::collections;

View File

@ -10,7 +10,6 @@
// error-pattern:fail
#![feature(managed_boxes)]
use std::gc::{Gc, GC};

View File

@ -10,7 +10,6 @@
// error-pattern:fail
#![feature(managed_boxes)]
use std::gc::GC;

View File

@ -10,7 +10,6 @@
// error-pattern:fail
#![feature(managed_boxes)]
use std::gc::GC;

View File

@ -10,7 +10,6 @@
// error-pattern:fail
#![feature(managed_boxes)]
use std::gc::GC;

View File

@ -10,7 +10,6 @@
// error-pattern:fail
#![feature(managed_boxes)]
use std::gc::GC;

View File

@ -8,7 +8,6 @@
// option. This file may not be copied, modified, or distributed
// except according to those terms.
#![feature(managed_boxes)]
// error-pattern:squirrel

View File

@ -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)]
// error-pattern:quux

View File

@ -10,7 +10,6 @@
// error-pattern:fail
#![feature(managed_boxes)]
use std::gc::GC;

View File

@ -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;

View File

@ -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};

View File

@ -10,7 +10,6 @@
// error-pattern:fail
#![feature(managed_boxes)]
use std::gc::GC;

View File

@ -12,7 +12,6 @@
// ignore-pretty: does not work well with `--test`
#![feature(quote)]
#![feature(managed_boxes)]
extern crate syntax;

View File

@ -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;

View File

@ -10,7 +10,6 @@
// ignore-test FIXME(#5121)
#![feature(managed_boxes)]
extern crate time;
extern crate serialize;

View File

@ -11,7 +11,6 @@
// Testing that method lookup automatically both borrows vectors to slices
// and also references them to create the &self pointer
#![feature(managed_boxes)]
trait MyIter {
fn test_imm(&self);

View File

@ -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};

View File

@ -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};

View File

@ -10,7 +10,6 @@
// Binop corner cases
#![feature(managed_boxes)]
use std::gc::GC;

View File

@ -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};

View File

@ -13,7 +13,6 @@
// Test that we root `x` even though it is found in immutable memory,
// because it is moved.
#![feature(managed_boxes)]
use std::gc::{Gc, GC};

View File

@ -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};

Some files were not shown because too many files have changed in this diff Show More