From aa486547404553227fa3db0a887554245605075a Mon Sep 17 00:00:00 2001 From: Brian Anderson Date: Sat, 26 Jul 2014 21:05:03 -0700 Subject: [PATCH] Remove managed_box gate from tests No longer does anything. --- src/test/auxiliary/cci_nested_lib.rs | 1 - src/test/auxiliary/crate-method-reexport-grrrrrrr2.rs | 1 - src/test/auxiliary/issue-2631-a.rs | 1 - src/test/auxiliary/issue-5521.rs | 1 - src/test/auxiliary/macro_crate_test.rs | 2 +- src/test/bench/sudoku.rs | 1 - src/test/bench/task-perf-alloc-unwind.rs | 2 +- src/test/compile-fail/auto-ref-slice-plus-ref.rs | 1 - src/test/compile-fail/autoderef-full-lval.rs | 1 - .../compile-fail/borrowck-borrow-immut-deref-of-gc-as-mut.rs | 1 - src/test/compile-fail/borrowck-loan-rcvr-overloaded-op.rs | 1 - src/test/compile-fail/borrowck-loan-rcvr.rs | 1 - src/test/compile-fail/borrowck-managed-pointer-deref-scope.rs | 1 - src/test/compile-fail/borrowck-preserve-box-in-field.rs | 1 - src/test/compile-fail/borrowck-preserve-box-in-uniq.rs | 1 - src/test/compile-fail/borrowck-preserve-box.rs | 1 - src/test/compile-fail/borrowck-preserve-cond-box.rs | 1 - src/test/compile-fail/borrowck-preserve-expl-deref.rs | 1 - src/test/compile-fail/box-static-bound.rs | 1 - src/test/compile-fail/check-static-values-constraints.rs | 1 - src/test/compile-fail/drop-on-non-struct.rs | 1 - src/test/compile-fail/issue-2063-resource.rs | 1 - src/test/compile-fail/issue-3668.rs | 1 - src/test/compile-fail/issue-3763.rs | 1 - src/test/compile-fail/issue-7061.rs | 1 - src/test/compile-fail/issue-7364.rs | 1 - src/test/compile-fail/kindck-copy.rs | 1 - src/test/compile-fail/kindck-destructor-owned.rs | 1 - src/test/compile-fail/kindck-nonsendable-1.rs | 1 - src/test/compile-fail/lint-heap-memory.rs | 1 - src/test/compile-fail/lint-managed-heap-memory.rs | 1 - src/test/compile-fail/moves-based-on-type-exprs.rs | 1 - src/test/compile-fail/no-send-res-ports.rs | 2 +- src/test/compile-fail/occurs-check.rs | 1 - src/test/compile-fail/pinned-deep-copy.rs | 2 +- src/test/compile-fail/regions-appearance-constraint.rs | 1 - src/test/compile-fail/regions-infer-borrow-scope-too-big.rs | 1 - src/test/compile-fail/regions-infer-borrow-scope-within-loop.rs | 1 - .../regions-infer-invariance-due-to-mutability-3.rs | 1 - .../regions-infer-invariance-due-to-mutability-4.rs | 1 - src/test/compile-fail/regions-infer-paramd-indirect.rs | 1 - src/test/compile-fail/static-region-bound.rs | 1 - src/test/compile-fail/struct-field-assignability.rs | 1 - src/test/compile-fail/terr-sorts.rs | 1 - src/test/compile-fail/trait-impl-method-mismatch.rs | 1 - src/test/compile-fail/unique-unique-kind.rs | 1 - src/test/compile-fail/unique-vec-res.rs | 2 +- src/test/compile-fail/unsendable-class.rs | 1 - src/test/debuginfo/borrowed-managed-basic.rs | 1 - src/test/debuginfo/borrowed-struct.rs | 1 - src/test/debuginfo/borrowed-tuple.rs | 1 - src/test/debuginfo/box.rs | 1 - src/test/debuginfo/boxed-struct.rs | 1 - src/test/debuginfo/by-value-self-argument-in-trait-impl.rs | 1 - src/test/debuginfo/managed-enum.rs | 2 +- src/test/debuginfo/managed-pointer-within-unique-vec.rs | 1 - src/test/debuginfo/managed-pointer-within-unique.rs | 1 - src/test/debuginfo/recursive-struct.rs | 1 - src/test/debuginfo/var-captured-in-nested-closure.rs | 1 - src/test/debuginfo/var-captured-in-stack-closure.rs | 1 - src/test/pretty/block-disambig.rs | 1 - src/test/run-fail/args-fail.rs | 1 - src/test/run-fail/issue-2272.rs | 1 - src/test/run-fail/unwind-assert.rs | 1 - src/test/run-fail/unwind-box-fn-unique.rs | 1 - src/test/run-fail/unwind-box-res.rs | 1 - src/test/run-fail/unwind-box-str.rs | 1 - src/test/run-fail/unwind-box-unique-unique.rs | 1 - src/test/run-fail/unwind-box-unique.rs | 1 - src/test/run-fail/unwind-box-vec.rs | 1 - src/test/run-fail/unwind-box.rs | 1 - src/test/run-fail/unwind-fail.rs | 1 - src/test/run-fail/unwind-initializer-indirect.rs | 1 - src/test/run-fail/unwind-initializer.rs | 1 - src/test/run-fail/unwind-iter.rs | 1 - src/test/run-fail/unwind-iter2.rs | 1 - src/test/run-fail/unwind-lambda.rs | 1 - src/test/run-fail/unwind-match.rs | 1 - src/test/run-fail/unwind-misc-1.rs | 1 - src/test/run-fail/unwind-move.rs | 1 - src/test/run-fail/unwind-nested.rs | 1 - src/test/run-fail/unwind-partial-box.rs | 1 - src/test/run-fail/unwind-partial-unique.rs | 1 - src/test/run-fail/unwind-partial-vec.rs | 1 - src/test/run-fail/unwind-resource-fail.rs | 1 - src/test/run-fail/unwind-resource-fail3.rs | 2 +- src/test/run-fail/unwind-stacked.rs | 1 - src/test/run-fail/unwind-tup.rs | 1 - src/test/run-fail/unwind-tup2.rs | 1 - src/test/run-fail/unwind-uninitialized.rs | 1 - src/test/run-pass-fulldeps/quote-tokens.rs | 1 - src/test/run-pass/assert-eq-macro-success.rs | 1 - src/test/run-pass/auto-encode.rs | 1 - src/test/run-pass/auto-ref-slice-plus-ref.rs | 1 - src/test/run-pass/autoderef-method-priority.rs | 1 - src/test/run-pass/autoref-intermediate-types-issue-3585.rs | 1 - src/test/run-pass/binops.rs | 1 - src/test/run-pass/borrowck-borrow-from-expr-block.rs | 1 - src/test/run-pass/borrowck-preserve-box-in-moved-value.rs | 1 - src/test/run-pass/borrowck-root-while-cond-2.rs | 1 - src/test/run-pass/borrowck-root-while-cond.rs | 1 - src/test/run-pass/borrowck-univariant-enum.rs | 1 - src/test/run-pass/borrowed-ptr-pattern-infallible.rs | 1 - src/test/run-pass/box-compare.rs | 1 - src/test/run-pass/box-in-tup.rs | 1 - src/test/run-pass/box-inside-if.rs | 1 - src/test/run-pass/box-inside-if2.rs | 1 - src/test/run-pass/box-unbox.rs | 1 - src/test/run-pass/box.rs | 1 - src/test/run-pass/boxed-class-type-substitution.rs | 1 - src/test/run-pass/cci_borrow.rs | 1 - src/test/run-pass/cci_nested_exe.rs | 2 +- src/test/run-pass/class-cast-to-trait-multiple-types.rs | 1 - src/test/run-pass/class-cast-to-trait.rs | 1 - src/test/run-pass/classes-self-referential.rs | 1 - src/test/run-pass/cleanup-copy-mode.rs | 1 - src/test/run-pass/crate-method-reexport-grrrrrrr.rs | 1 - src/test/run-pass/cycle-collection.rs | 1 - src/test/run-pass/deref-lval.rs | 1 - src/test/run-pass/deref.rs | 1 - src/test/run-pass/deriving-encodable-decodable.rs | 2 +- src/test/run-pass/deriving-zero.rs | 1 - src/test/run-pass/double-unbox.rs | 1 - src/test/run-pass/drop-on-empty-block-exit.rs | 1 - src/test/run-pass/enum-nullable-simplifycfg-misopt.rs | 1 - src/test/run-pass/evec-internal-boxes.rs | 1 - src/test/run-pass/export-non-interference.rs | 1 - src/test/run-pass/expr-block-box.rs | 1 - src/test/run-pass/expr-block-generic-box1.rs | 1 - src/test/run-pass/expr-block-generic-box2.rs | 1 - src/test/run-pass/expr-block-ref.rs | 1 - src/test/run-pass/expr-elseif-ref.rs | 1 - src/test/run-pass/expr-elseif-ref2.rs | 1 - src/test/run-pass/expr-if-box.rs | 1 - src/test/run-pass/expr-if-generic-box1.rs | 1 - src/test/run-pass/expr-if-generic-box2.rs | 1 - src/test/run-pass/expr-match-box.rs | 1 - src/test/run-pass/expr-match-generic-box1.rs | 1 - src/test/run-pass/expr-match-generic-box2.rs | 1 - src/test/run-pass/exterior.rs | 1 - src/test/run-pass/generic-alias-box.rs | 1 - src/test/run-pass/generic-box.rs | 1 - src/test/run-pass/generic-drop-glue.rs | 1 - src/test/run-pass/generic-exterior-box.rs | 1 - src/test/run-pass/generic-fn-box.rs | 1 - src/test/run-pass/generic-ivec.rs | 1 - src/test/run-pass/generic-recursive-tag.rs | 1 - src/test/run-pass/generic-tag.rs | 1 - src/test/run-pass/hashmap-memory.rs | 1 - src/test/run-pass/ifmt.rs | 2 +- src/test/run-pass/init-res-into-things.rs | 2 +- src/test/run-pass/issue-2631-b.rs | 1 - src/test/run-pass/issue-2708.rs | 1 - src/test/run-pass/issue-2735-2.rs | 2 +- src/test/run-pass/issue-2735-3.rs | 2 +- src/test/run-pass/issue-2904.rs | 1 - src/test/run-pass/issue-3012-2.rs | 1 - src/test/run-pass/issue-3121.rs | 1 - src/test/run-pass/issue-3447.rs | 1 - src/test/run-pass/issue-3556.rs | 1 - src/test/run-pass/issue-5521.rs | 1 - src/test/run-pass/issue-5884.rs | 1 - src/test/run-pass/issue-6117.rs | 1 - src/test/run-pass/issue-8898.rs | 1 - src/test/run-pass/issue-8983.rs | 1 - src/test/run-pass/issue-9382.rs | 1 - src/test/run-pass/issue-979.rs | 2 +- src/test/run-pass/issue-980.rs | 1 - src/test/run-pass/leak-box-as-tydesc.rs | 1 - src/test/run-pass/leak-tag-copy.rs | 1 - src/test/run-pass/list.rs | 1 - src/test/run-pass/mlist.rs | 1 - src/test/run-pass/monomorphized-callees-with-ty-params-3314.rs | 1 - src/test/run-pass/move-1.rs | 1 - src/test/run-pass/move-2.rs | 1 - src/test/run-pass/move-3.rs | 1 - src/test/run-pass/move-4.rs | 1 - src/test/run-pass/move-arg-2.rs | 1 - src/test/run-pass/mutable-vec-drop.rs | 1 - src/test/run-pass/mutual-recursion-group.rs | 1 - src/test/run-pass/newtype-struct-drop-run.rs | 2 +- src/test/run-pass/nullable-pointer-iotareduction.rs | 2 +- src/test/run-pass/nullable-pointer-size.rs | 2 +- .../run-pass/objects-owned-object-borrowed-method-header.rs | 1 - src/test/run-pass/option-unwrap.rs | 2 +- src/test/run-pass/output-slot-variants.rs | 1 - src/test/run-pass/packed-struct-size.rs | 1 - src/test/run-pass/packed-tuple-struct-size.rs | 1 - src/test/run-pass/pass-by-copy.rs | 1 - src/test/run-pass/rcvr-borrowed-to-region.rs | 1 - src/test/run-pass/reflect-visit-type.rs | 1 - src/test/run-pass/regions-borrow-at.rs | 1 - src/test/run-pass/regions-escape-into-other-fn.rs | 1 - src/test/run-pass/regions-infer-borrow-scope.rs | 1 - src/test/run-pass/repeated-vector-syntax.rs | 1 - src/test/run-pass/resource-assign-is-not-copy.rs | 2 +- src/test/run-pass/resource-destruct.rs | 2 +- src/test/run-pass/resource-in-struct.rs | 2 +- src/test/run-pass/shape_intrinsic_tag_then_rec.rs | 1 - src/test/run-pass/terminate-in-initializer.rs | 1 - src/test/run-pass/trait-cast.rs | 1 - src/test/run-pass/type-param-constraints.rs | 1 - src/test/run-pass/typeclasses-eq-example-static.rs | 1 - src/test/run-pass/typeclasses-eq-example.rs | 1 - src/test/run-pass/uniq-cc-generic.rs | 1 - src/test/run-pass/uniq-cc.rs | 1 - src/test/run-pass/unique-assign-generic.rs | 1 - src/test/run-pass/unwind-box.rs | 1 - src/test/run-pass/unwind-resource2.rs | 2 +- src/test/run-pass/vec-drop.rs | 1 - src/test/run-pass/vec-slice-drop.rs | 2 +- src/test/run-pass/vector-no-ann-2.rs | 1 - src/test/run-pass/weird-exprs.rs | 1 - 213 files changed, 23 insertions(+), 213 deletions(-) diff --git a/src/test/auxiliary/cci_nested_lib.rs b/src/test/auxiliary/cci_nested_lib.rs index 58c58ef3aeb..b097e688b42 100644 --- a/src/test/auxiliary/cci_nested_lib.rs +++ b/src/test/auxiliary/cci_nested_lib.rs @@ -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}; diff --git a/src/test/auxiliary/crate-method-reexport-grrrrrrr2.rs b/src/test/auxiliary/crate-method-reexport-grrrrrrr2.rs index 2aa503afb8d..e9a24900176 100644 --- a/src/test/auxiliary/crate-method-reexport-grrrrrrr2.rs +++ b/src/test/auxiliary/crate-method-reexport-grrrrrrr2.rs @@ -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; diff --git a/src/test/auxiliary/issue-2631-a.rs b/src/test/auxiliary/issue-2631-a.rs index 6280d776e36..61c7d3f87df 100644 --- a/src/test/auxiliary/issue-2631-a.rs +++ b/src/test/auxiliary/issue-2631-a.rs @@ -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"] diff --git a/src/test/auxiliary/issue-5521.rs b/src/test/auxiliary/issue-5521.rs index 6ce5bff60e6..5d56db314b2 100644 --- a/src/test/auxiliary/issue-5521.rs +++ b/src/test/auxiliary/issue-5521.rs @@ -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; diff --git a/src/test/auxiliary/macro_crate_test.rs b/src/test/auxiliary/macro_crate_test.rs index bc310e31711..4936bff5768 100644 --- a/src/test/auxiliary/macro_crate_test.rs +++ b/src/test/auxiliary/macro_crate_test.rs @@ -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; diff --git a/src/test/bench/sudoku.rs b/src/test/bench/sudoku.rs index f0988bcfcf4..7129d4993b7 100644 --- a/src/test/bench/sudoku.rs +++ b/src/test/bench/sudoku.rs @@ -10,7 +10,6 @@ // ignore-pretty very bad with line comments -#![feature(managed_boxes)] #![allow(non_snake_case_functions)] use std::io; diff --git a/src/test/bench/task-perf-alloc-unwind.rs b/src/test/bench/task-perf-alloc-unwind.rs index a3d78823816..93b22edbf03 100644 --- a/src/test/bench/task-perf-alloc-unwind.rs +++ b/src/test/bench/task-perf-alloc-unwind.rs @@ -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; diff --git a/src/test/compile-fail/auto-ref-slice-plus-ref.rs b/src/test/compile-fail/auto-ref-slice-plus-ref.rs index 8c8c0d9cfb6..83acce2003c 100644 --- a/src/test/compile-fail/auto-ref-slice-plus-ref.rs +++ b/src/test/compile-fail/auto-ref-slice-plus-ref.rs @@ -8,7 +8,6 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. -#![feature(managed_boxes)] fn main() { diff --git a/src/test/compile-fail/autoderef-full-lval.rs b/src/test/compile-fail/autoderef-full-lval.rs index dd928bfa9d4..276c830cf5d 100644 --- a/src/test/compile-fail/autoderef-full-lval.rs +++ b/src/test/compile-fail/autoderef-full-lval.rs @@ -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; diff --git a/src/test/compile-fail/borrowck-borrow-immut-deref-of-gc-as-mut.rs b/src/test/compile-fail/borrowck-borrow-immut-deref-of-gc-as-mut.rs index 3a7c70a4653..91eb20d19ed 100644 --- a/src/test/compile-fail/borrowck-borrow-immut-deref-of-gc-as-mut.rs +++ b/src/test/compile-fail/borrowck-borrow-immut-deref-of-gc-as-mut.rs @@ -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; diff --git a/src/test/compile-fail/borrowck-loan-rcvr-overloaded-op.rs b/src/test/compile-fail/borrowck-loan-rcvr-overloaded-op.rs index a6063ffefd4..c5d7b6fa451 100644 --- a/src/test/compile-fail/borrowck-loan-rcvr-overloaded-op.rs +++ b/src/test/compile-fail/borrowck-loan-rcvr-overloaded-op.rs @@ -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, diff --git a/src/test/compile-fail/borrowck-loan-rcvr.rs b/src/test/compile-fail/borrowck-loan-rcvr.rs index 2461f1ab396..d678fd48f21 100644 --- a/src/test/compile-fail/borrowck-loan-rcvr.rs +++ b/src/test/compile-fail/borrowck-loan-rcvr.rs @@ -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 } diff --git a/src/test/compile-fail/borrowck-managed-pointer-deref-scope.rs b/src/test/compile-fail/borrowck-managed-pointer-deref-scope.rs index 9e6bafa1eba..f57edc193f3 100644 --- a/src/test/compile-fail/borrowck-managed-pointer-deref-scope.rs +++ b/src/test/compile-fail/borrowck-managed-pointer-deref-scope.rs @@ -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}; diff --git a/src/test/compile-fail/borrowck-preserve-box-in-field.rs b/src/test/compile-fail/borrowck-preserve-box-in-field.rs index b9dc7953580..ad1ac3cc15e 100644 --- a/src/test/compile-fail/borrowck-preserve-box-in-field.rs +++ b/src/test/compile-fail/borrowck-preserve-box-in-field.rs @@ -10,7 +10,6 @@ // exec-env:RUST_POISON_ON_FREE=1 -#![feature(managed_boxes)] use std::gc::GC; diff --git a/src/test/compile-fail/borrowck-preserve-box-in-uniq.rs b/src/test/compile-fail/borrowck-preserve-box-in-uniq.rs index 38c80f293ef..ec52f058836 100644 --- a/src/test/compile-fail/borrowck-preserve-box-in-uniq.rs +++ b/src/test/compile-fail/borrowck-preserve-box-in-uniq.rs @@ -10,7 +10,6 @@ // exec-env:RUST_POISON_ON_FREE=1 -#![feature(managed_boxes)] use std::gc::GC; diff --git a/src/test/compile-fail/borrowck-preserve-box.rs b/src/test/compile-fail/borrowck-preserve-box.rs index d838851e922..5aff482a323 100644 --- a/src/test/compile-fail/borrowck-preserve-box.rs +++ b/src/test/compile-fail/borrowck-preserve-box.rs @@ -10,7 +10,6 @@ // exec-env:RUST_POISON_ON_FREE=1 -#![feature(managed_boxes)] use std::gc::GC; diff --git a/src/test/compile-fail/borrowck-preserve-cond-box.rs b/src/test/compile-fail/borrowck-preserve-cond-box.rs index e8ff69ed641..6c3c340b97a 100644 --- a/src/test/compile-fail/borrowck-preserve-cond-box.rs +++ b/src/test/compile-fail/borrowck-preserve-cond-box.rs @@ -10,7 +10,6 @@ // exec-env:RUST_POISON_ON_FREE=1 -#![feature(managed_boxes)] use std::gc::GC; diff --git a/src/test/compile-fail/borrowck-preserve-expl-deref.rs b/src/test/compile-fail/borrowck-preserve-expl-deref.rs index d00bded2d79..2ad042c69c3 100644 --- a/src/test/compile-fail/borrowck-preserve-expl-deref.rs +++ b/src/test/compile-fail/borrowck-preserve-expl-deref.rs @@ -10,7 +10,6 @@ // exec-env:RUST_POISON_ON_FREE=1 -#![feature(managed_boxes)] use std::gc::GC; diff --git a/src/test/compile-fail/box-static-bound.rs b/src/test/compile-fail/box-static-bound.rs index e2622b6e72d..5ef52ab6645 100644 --- a/src/test/compile-fail/box-static-bound.rs +++ b/src/test/compile-fail/box-static-bound.rs @@ -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}; diff --git a/src/test/compile-fail/check-static-values-constraints.rs b/src/test/compile-fail/check-static-values-constraints.rs index b7344d72a46..12bc23e9bdc 100644 --- a/src/test/compile-fail/check-static-values-constraints.rs +++ b/src/test/compile-fail/check-static-values-constraints.rs @@ -7,7 +7,6 @@ // , 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. diff --git a/src/test/compile-fail/drop-on-non-struct.rs b/src/test/compile-fail/drop-on-non-struct.rs index ac6e35d0b26..bf501ecfb70 100644 --- a/src/test/compile-fail/drop-on-non-struct.rs +++ b/src/test/compile-fail/drop-on-non-struct.rs @@ -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; diff --git a/src/test/compile-fail/issue-2063-resource.rs b/src/test/compile-fail/issue-2063-resource.rs index 9e365acc5ab..577ac480f60 100644 --- a/src/test/compile-fail/issue-2063-resource.rs +++ b/src/test/compile-fail/issue-2063-resource.rs @@ -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; diff --git a/src/test/compile-fail/issue-3668.rs b/src/test/compile-fail/issue-3668.rs index ec3808fa2c7..d3bd17a7742 100644 --- a/src/test/compile-fail/issue-3668.rs +++ b/src/test/compile-fail/issue-3668.rs @@ -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; diff --git a/src/test/compile-fail/issue-3763.rs b/src/test/compile-fail/issue-3763.rs index 30b05c7bbaa..9003578a0bb 100644 --- a/src/test/compile-fail/issue-3763.rs +++ b/src/test/compile-fail/issue-3763.rs @@ -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; diff --git a/src/test/compile-fail/issue-7061.rs b/src/test/compile-fail/issue-7061.rs index b644d98926c..99035c8906b 100644 --- a/src/test/compile-fail/issue-7061.rs +++ b/src/test/compile-fail/issue-7061.rs @@ -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; diff --git a/src/test/compile-fail/issue-7364.rs b/src/test/compile-fail/issue-7364.rs index 96d25737f7e..1c0295974c9 100644 --- a/src/test/compile-fail/issue-7364.rs +++ b/src/test/compile-fail/issue-7364.rs @@ -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}; diff --git a/src/test/compile-fail/kindck-copy.rs b/src/test/compile-fail/kindck-copy.rs index f2a3d86ef0f..2ca171ed998 100644 --- a/src/test/compile-fail/kindck-copy.rs +++ b/src/test/compile-fail/kindck-copy.rs @@ -10,7 +10,6 @@ // Test which of the builtin types are considered POD. -#![feature(managed_boxes)] use std::rc::Rc; use std::gc::Gc; diff --git a/src/test/compile-fail/kindck-destructor-owned.rs b/src/test/compile-fail/kindck-destructor-owned.rs index 44fe2607fcc..4197464c600 100644 --- a/src/test/compile-fail/kindck-destructor-owned.rs +++ b/src/test/compile-fail/kindck-destructor-owned.rs @@ -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; diff --git a/src/test/compile-fail/kindck-nonsendable-1.rs b/src/test/compile-fail/kindck-nonsendable-1.rs index cad340cedb1..de4b6ed3545 100644 --- a/src/test/compile-fail/kindck-nonsendable-1.rs +++ b/src/test/compile-fail/kindck-nonsendable-1.rs @@ -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}; diff --git a/src/test/compile-fail/lint-heap-memory.rs b/src/test/compile-fail/lint-heap-memory.rs index 8f495645dc7..375969ffb52 100644 --- a/src/test/compile-fail/lint-heap-memory.rs +++ b/src/test/compile-fail/lint-heap-memory.rs @@ -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)] diff --git a/src/test/compile-fail/lint-managed-heap-memory.rs b/src/test/compile-fail/lint-managed-heap-memory.rs index 5e88f52a9a5..0a28242fb1b 100644 --- a/src/test/compile-fail/lint-managed-heap-memory.rs +++ b/src/test/compile-fail/lint-managed-heap-memory.rs @@ -9,7 +9,6 @@ // except according to those terms. #![allow(dead_code)] -#![feature(managed_boxes)] #![forbid(managed_heap_memory)] use std::gc::{Gc, GC}; diff --git a/src/test/compile-fail/moves-based-on-type-exprs.rs b/src/test/compile-fail/moves-based-on-type-exprs.rs index 7a882b26db5..a6f7fb24331 100644 --- a/src/test/compile-fail/moves-based-on-type-exprs.rs +++ b/src/test/compile-fail/moves-based-on-type-exprs.rs @@ -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 { f: A } fn guard(_s: String) -> bool {fail!()} diff --git a/src/test/compile-fail/no-send-res-ports.rs b/src/test/compile-fail/no-send-res-ports.rs index c086f44d08b..5b688c6156a 100644 --- a/src/test/compile-fail/no-send-res-ports.rs +++ b/src/test/compile-fail/no-send-res-ports.rs @@ -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; diff --git a/src/test/compile-fail/occurs-check.rs b/src/test/compile-fail/occurs-check.rs index 0374a6f33f1..a2148c07187 100644 --- a/src/test/compile-fail/occurs-check.rs +++ b/src/test/compile-fail/occurs-check.rs @@ -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; diff --git a/src/test/compile-fail/pinned-deep-copy.rs b/src/test/compile-fail/pinned-deep-copy.rs index d6e8507d020..0e3d6cd8168 100644 --- a/src/test/compile-fail/pinned-deep-copy.rs +++ b/src/test/compile-fail/pinned-deep-copy.rs @@ -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; diff --git a/src/test/compile-fail/regions-appearance-constraint.rs b/src/test/compile-fail/regions-appearance-constraint.rs index 842fe3fde41..2c068052c54 100644 --- a/src/test/compile-fail/regions-appearance-constraint.rs +++ b/src/test/compile-fail/regions-appearance-constraint.rs @@ -10,7 +10,6 @@ // Test no-special rooting is used for managed boxes -#![feature(managed_boxes)] use std::gc::GC; diff --git a/src/test/compile-fail/regions-infer-borrow-scope-too-big.rs b/src/test/compile-fail/regions-infer-borrow-scope-too-big.rs index b00ceec0287..fc513b91f89 100644 --- a/src/test/compile-fail/regions-infer-borrow-scope-too-big.rs +++ b/src/test/compile-fail/regions-infer-borrow-scope-too-big.rs @@ -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; diff --git a/src/test/compile-fail/regions-infer-borrow-scope-within-loop.rs b/src/test/compile-fail/regions-infer-borrow-scope-within-loop.rs index ce6a51e8fb5..623b8e6319f 100644 --- a/src/test/compile-fail/regions-infer-borrow-scope-within-loop.rs +++ b/src/test/compile-fail/regions-infer-borrow-scope-within-loop.rs @@ -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; diff --git a/src/test/compile-fail/regions-infer-invariance-due-to-mutability-3.rs b/src/test/compile-fail/regions-infer-invariance-due-to-mutability-3.rs index 53d013c0e6b..33573cae0f6 100644 --- a/src/test/compile-fail/regions-infer-invariance-due-to-mutability-3.rs +++ b/src/test/compile-fail/regions-infer-invariance-due-to-mutability-3.rs @@ -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 diff --git a/src/test/compile-fail/regions-infer-invariance-due-to-mutability-4.rs b/src/test/compile-fail/regions-infer-invariance-due-to-mutability-4.rs index edab5b21991..66dcb5fdebd 100644 --- a/src/test/compile-fail/regions-infer-invariance-due-to-mutability-4.rs +++ b/src/test/compile-fail/regions-infer-invariance-due-to-mutability-4.rs @@ -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 diff --git a/src/test/compile-fail/regions-infer-paramd-indirect.rs b/src/test/compile-fail/regions-infer-paramd-indirect.rs index ea2e6feba57..87820e88475 100644 --- a/src/test/compile-fail/regions-infer-paramd-indirect.rs +++ b/src/test/compile-fail/regions-infer-paramd-indirect.rs @@ -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. diff --git a/src/test/compile-fail/static-region-bound.rs b/src/test/compile-fail/static-region-bound.rs index d78643ccd10..c36610fc79e 100644 --- a/src/test/compile-fail/static-region-bound.rs +++ b/src/test/compile-fail/static-region-bound.rs @@ -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; diff --git a/src/test/compile-fail/struct-field-assignability.rs b/src/test/compile-fail/struct-field-assignability.rs index bfa8f402a82..557341fd4f0 100644 --- a/src/test/compile-fail/struct-field-assignability.rs +++ b/src/test/compile-fail/struct-field-assignability.rs @@ -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}; diff --git a/src/test/compile-fail/terr-sorts.rs b/src/test/compile-fail/terr-sorts.rs index 31814a2ff1c..c8059abfd74 100644 --- a/src/test/compile-fail/terr-sorts.rs +++ b/src/test/compile-fail/terr-sorts.rs @@ -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; diff --git a/src/test/compile-fail/trait-impl-method-mismatch.rs b/src/test/compile-fail/trait-impl-method-mismatch.rs index 8df4bb47f88..216da08a80f 100644 --- a/src/test/compile-fail/trait-impl-method-mismatch.rs +++ b/src/test/compile-fail/trait-impl-method-mismatch.rs @@ -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; diff --git a/src/test/compile-fail/unique-unique-kind.rs b/src/test/compile-fail/unique-unique-kind.rs index 67fbc08bd94..dd0c7953434 100644 --- a/src/test/compile-fail/unique-unique-kind.rs +++ b/src/test/compile-fail/unique-unique-kind.rs @@ -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; diff --git a/src/test/compile-fail/unique-vec-res.rs b/src/test/compile-fail/unique-vec-res.rs index a2adb55a2dd..456437e2f39 100644 --- a/src/test/compile-fail/unique-vec-res.rs +++ b/src/test/compile-fail/unique-vec-res.rs @@ -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; diff --git a/src/test/compile-fail/unsendable-class.rs b/src/test/compile-fail/unsendable-class.rs index 65f88ef7126..2991a60835d 100644 --- a/src/test/compile-fail/unsendable-class.rs +++ b/src/test/compile-fail/unsendable-class.rs @@ -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 diff --git a/src/test/debuginfo/borrowed-managed-basic.rs b/src/test/debuginfo/borrowed-managed-basic.rs index 8e924a46d9a..a2b8c54c380 100644 --- a/src/test/debuginfo/borrowed-managed-basic.rs +++ b/src/test/debuginfo/borrowed-managed-basic.rs @@ -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. diff --git a/src/test/debuginfo/borrowed-struct.rs b/src/test/debuginfo/borrowed-struct.rs index ed56c19869f..02131734fb1 100644 --- a/src/test/debuginfo/borrowed-struct.rs +++ b/src/test/debuginfo/borrowed-struct.rs @@ -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; diff --git a/src/test/debuginfo/borrowed-tuple.rs b/src/test/debuginfo/borrowed-tuple.rs index 583906b7b30..55530636571 100644 --- a/src/test/debuginfo/borrowed-tuple.rs +++ b/src/test/debuginfo/borrowed-tuple.rs @@ -10,7 +10,6 @@ // ignore-android: FIXME(#10381) -#![feature(managed_boxes)] // compile-flags:-g diff --git a/src/test/debuginfo/box.rs b/src/test/debuginfo/box.rs index 5b799b25bbf..1a07f614c14 100644 --- a/src/test/debuginfo/box.rs +++ b/src/test/debuginfo/box.rs @@ -40,7 +40,6 @@ // lldb-command:print d->val // lldb-check:[...]$3 = false -#![feature(managed_boxes)] #![allow(unused_variable)] use std::gc::GC; diff --git a/src/test/debuginfo/boxed-struct.rs b/src/test/debuginfo/boxed-struct.rs index 0e958545fb3..d3a556e4009 100644 --- a/src/test/debuginfo/boxed-struct.rs +++ b/src/test/debuginfo/boxed-struct.rs @@ -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; diff --git a/src/test/debuginfo/by-value-self-argument-in-trait-impl.rs b/src/test/debuginfo/by-value-self-argument-in-trait-impl.rs index 4d6064c185b..af1b38adf80 100644 --- a/src/test/debuginfo/by-value-self-argument-in-trait-impl.rs +++ b/src/test/debuginfo/by-value-self-argument-in-trait-impl.rs @@ -10,7 +10,6 @@ // ignore-android: FIXME(#10381) -#![feature(managed_boxes)] // compile-flags:-g diff --git a/src/test/debuginfo/managed-enum.rs b/src/test/debuginfo/managed-enum.rs index 2fd43d3e9ca..e5da4d2cdb1 100644 --- a/src/test/debuginfo/managed-enum.rs +++ b/src/test/debuginfo/managed-enum.rs @@ -42,7 +42,7 @@ // lldb-check:[...]$2 = TheOnlyCase(-9747455) #![allow(unused_variable)] -#![feature(struct_variant, managed_boxes)] +#![feature(struct_variant)] use std::gc::GC; diff --git a/src/test/debuginfo/managed-pointer-within-unique-vec.rs b/src/test/debuginfo/managed-pointer-within-unique-vec.rs index 6abd174b1aa..69f3938ecee 100644 --- a/src/test/debuginfo/managed-pointer-within-unique-vec.rs +++ b/src/test/debuginfo/managed-pointer-within-unique-vec.rs @@ -10,7 +10,6 @@ // ignore-android: FIXME(#10381) -#![feature(managed_boxes)] // compile-flags:-g diff --git a/src/test/debuginfo/managed-pointer-within-unique.rs b/src/test/debuginfo/managed-pointer-within-unique.rs index 7f1b32936c8..2690efb8f85 100644 --- a/src/test/debuginfo/managed-pointer-within-unique.rs +++ b/src/test/debuginfo/managed-pointer-within-unique.rs @@ -10,7 +10,6 @@ // ignore-android: FIXME(#10381) -#![feature(managed_boxes)] // compile-flags:-g diff --git a/src/test/debuginfo/recursive-struct.rs b/src/test/debuginfo/recursive-struct.rs index 931955ec317..76722b743d7 100644 --- a/src/test/debuginfo/recursive-struct.rs +++ b/src/test/debuginfo/recursive-struct.rs @@ -12,7 +12,6 @@ // ignore-android: FIXME(#10381) // ignore-lldb -#![feature(managed_boxes)] // compile-flags:-g // gdb-command:set print pretty off diff --git a/src/test/debuginfo/var-captured-in-nested-closure.rs b/src/test/debuginfo/var-captured-in-nested-closure.rs index b538fcd7d76..a08cc6bdb6e 100644 --- a/src/test/debuginfo/var-captured-in-nested-closure.rs +++ b/src/test/debuginfo/var-captured-in-nested-closure.rs @@ -88,7 +88,6 @@ // lldb-check:[...]$13 = 8 // lldb-command:continue -#![feature(managed_boxes)] #![allow(unused_variable)] use std::gc::GC; diff --git a/src/test/debuginfo/var-captured-in-stack-closure.rs b/src/test/debuginfo/var-captured-in-stack-closure.rs index 3fe17dc83e7..c37f0ddbe99 100644 --- a/src/test/debuginfo/var-captured-in-stack-closure.rs +++ b/src/test/debuginfo/var-captured-in-stack-closure.rs @@ -49,7 +49,6 @@ // lldb-command:print managed->val // lldb-check:[...]$5 = 7 -#![feature(managed_boxes)] #![allow(unused_variable)] use std::gc::GC; diff --git a/src/test/pretty/block-disambig.rs b/src/test/pretty/block-disambig.rs index 9433ddf1a1f..3f6d5b8c18a 100644 --- a/src/test/pretty/block-disambig.rs +++ b/src/test/pretty/block-disambig.rs @@ -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; diff --git a/src/test/run-fail/args-fail.rs b/src/test/run-fail/args-fail.rs index 54ee90d763c..d8ba7e1b788 100644 --- a/src/test/run-fail/args-fail.rs +++ b/src/test/run-fail/args-fail.rs @@ -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 diff --git a/src/test/run-fail/issue-2272.rs b/src/test/run-fail/issue-2272.rs index df170023dc4..87de4d3d3f2 100644 --- a/src/test/run-fail/issue-2272.rs +++ b/src/test/run-fail/issue-2272.rs @@ -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 diff --git a/src/test/run-fail/unwind-assert.rs b/src/test/run-fail/unwind-assert.rs index c4dd8802d8a..4947093d10c 100644 --- a/src/test/run-fail/unwind-assert.rs +++ b/src/test/run-fail/unwind-assert.rs @@ -10,7 +10,6 @@ // error-pattern:fail -#![feature(managed_boxes)] use std::gc::GC; diff --git a/src/test/run-fail/unwind-box-fn-unique.rs b/src/test/run-fail/unwind-box-fn-unique.rs index 22ab9d0bbae..7ed58be6072 100644 --- a/src/test/run-fail/unwind-box-fn-unique.rs +++ b/src/test/run-fail/unwind-box-fn-unique.rs @@ -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 diff --git a/src/test/run-fail/unwind-box-res.rs b/src/test/run-fail/unwind-box-res.rs index f80f25ec6eb..ede83311732 100644 --- a/src/test/run-fail/unwind-box-res.rs +++ b/src/test/run-fail/unwind-box-res.rs @@ -10,7 +10,6 @@ // error-pattern:fail -#![feature(managed_boxes)] extern crate debug; diff --git a/src/test/run-fail/unwind-box-str.rs b/src/test/run-fail/unwind-box-str.rs index 647d33013a1..07a8f5d4cfa 100644 --- a/src/test/run-fail/unwind-box-str.rs +++ b/src/test/run-fail/unwind-box-str.rs @@ -10,7 +10,6 @@ // error-pattern:fail -#![feature(managed_boxes)] extern crate debug; diff --git a/src/test/run-fail/unwind-box-unique-unique.rs b/src/test/run-fail/unwind-box-unique-unique.rs index 1eae3f49f27..9aa916a062e 100644 --- a/src/test/run-fail/unwind-box-unique-unique.rs +++ b/src/test/run-fail/unwind-box-unique-unique.rs @@ -10,7 +10,6 @@ // error-pattern:fail -#![feature(managed_boxes)] extern crate debug; diff --git a/src/test/run-fail/unwind-box-unique.rs b/src/test/run-fail/unwind-box-unique.rs index be4c929a2f2..7135742db34 100644 --- a/src/test/run-fail/unwind-box-unique.rs +++ b/src/test/run-fail/unwind-box-unique.rs @@ -10,7 +10,6 @@ // error-pattern:fail -#![feature(managed_boxes)] extern crate debug; diff --git a/src/test/run-fail/unwind-box-vec.rs b/src/test/run-fail/unwind-box-vec.rs index acf87b19c76..e7d1476c2b6 100644 --- a/src/test/run-fail/unwind-box-vec.rs +++ b/src/test/run-fail/unwind-box-vec.rs @@ -10,7 +10,6 @@ // error-pattern:fail -#![feature(managed_boxes)] extern crate debug; diff --git a/src/test/run-fail/unwind-box.rs b/src/test/run-fail/unwind-box.rs index 3647c553bf2..7d93ae56156 100644 --- a/src/test/run-fail/unwind-box.rs +++ b/src/test/run-fail/unwind-box.rs @@ -10,7 +10,6 @@ // error-pattern:fail -#![feature(managed_boxes)] use std::gc::GC; diff --git a/src/test/run-fail/unwind-fail.rs b/src/test/run-fail/unwind-fail.rs index e25fe1908ba..1e19522871a 100644 --- a/src/test/run-fail/unwind-fail.rs +++ b/src/test/run-fail/unwind-fail.rs @@ -10,7 +10,6 @@ // error-pattern:fail -#![feature(managed_boxes)] use std::gc::GC; diff --git a/src/test/run-fail/unwind-initializer-indirect.rs b/src/test/run-fail/unwind-initializer-indirect.rs index e913a803885..13ad5d2fae3 100644 --- a/src/test/run-fail/unwind-initializer-indirect.rs +++ b/src/test/run-fail/unwind-initializer-indirect.rs @@ -10,7 +10,6 @@ // error-pattern:fail -#![feature(managed_boxes)] use std::gc::Gc; diff --git a/src/test/run-fail/unwind-initializer.rs b/src/test/run-fail/unwind-initializer.rs index c383aaaf108..7294b19ac9a 100644 --- a/src/test/run-fail/unwind-initializer.rs +++ b/src/test/run-fail/unwind-initializer.rs @@ -10,7 +10,6 @@ // error-pattern:fail -#![feature(managed_boxes)] use std::gc::Gc; diff --git a/src/test/run-fail/unwind-iter.rs b/src/test/run-fail/unwind-iter.rs index d77a9f911b5..411b9a56a2f 100644 --- a/src/test/run-fail/unwind-iter.rs +++ b/src/test/run-fail/unwind-iter.rs @@ -10,7 +10,6 @@ // error-pattern:fail -#![feature(managed_boxes)] #![allow(unreachable_code)] #![allow(unused_variable)] diff --git a/src/test/run-fail/unwind-iter2.rs b/src/test/run-fail/unwind-iter2.rs index 9f00c0bc8ba..1a2492e0ac8 100644 --- a/src/test/run-fail/unwind-iter2.rs +++ b/src/test/run-fail/unwind-iter2.rs @@ -10,7 +10,6 @@ // error-pattern:fail -#![feature(managed_boxes)] use std::gc::{GC}; diff --git a/src/test/run-fail/unwind-lambda.rs b/src/test/run-fail/unwind-lambda.rs index 543056afb82..e96bc14905e 100644 --- a/src/test/run-fail/unwind-lambda.rs +++ b/src/test/run-fail/unwind-lambda.rs @@ -10,7 +10,6 @@ // error-pattern:fail -#![feature(managed_boxes)] use std::gc::{Gc, GC}; diff --git a/src/test/run-fail/unwind-match.rs b/src/test/run-fail/unwind-match.rs index f256884b312..a6564a68e19 100644 --- a/src/test/run-fail/unwind-match.rs +++ b/src/test/run-fail/unwind-match.rs @@ -11,7 +11,6 @@ // Issue #945 // error-pattern:non-exhaustive match failure -#![feature(managed_boxes)] use std::gc::GC; diff --git a/src/test/run-fail/unwind-misc-1.rs b/src/test/run-fail/unwind-misc-1.rs index 00d9309f458..23ec6cd0300 100644 --- a/src/test/run-fail/unwind-misc-1.rs +++ b/src/test/run-fail/unwind-misc-1.rs @@ -11,7 +11,6 @@ // exec-env:RUST_NEWRT=1 // error-pattern:fail -#![feature(managed_boxes)] use std::vec; use std::collections; diff --git a/src/test/run-fail/unwind-move.rs b/src/test/run-fail/unwind-move.rs index b1d9f4756c6..692bf713b40 100644 --- a/src/test/run-fail/unwind-move.rs +++ b/src/test/run-fail/unwind-move.rs @@ -10,7 +10,6 @@ // error-pattern:fail -#![feature(managed_boxes)] use std::gc::{Gc, GC}; diff --git a/src/test/run-fail/unwind-nested.rs b/src/test/run-fail/unwind-nested.rs index bebf06cf45a..84b727ea20f 100644 --- a/src/test/run-fail/unwind-nested.rs +++ b/src/test/run-fail/unwind-nested.rs @@ -10,7 +10,6 @@ // error-pattern:fail -#![feature(managed_boxes)] use std::gc::GC; diff --git a/src/test/run-fail/unwind-partial-box.rs b/src/test/run-fail/unwind-partial-box.rs index 5912f8167bc..366531b9127 100644 --- a/src/test/run-fail/unwind-partial-box.rs +++ b/src/test/run-fail/unwind-partial-box.rs @@ -10,7 +10,6 @@ // error-pattern:fail -#![feature(managed_boxes)] use std::gc::GC; diff --git a/src/test/run-fail/unwind-partial-unique.rs b/src/test/run-fail/unwind-partial-unique.rs index 2e6eee65738..725b57af7df 100644 --- a/src/test/run-fail/unwind-partial-unique.rs +++ b/src/test/run-fail/unwind-partial-unique.rs @@ -10,7 +10,6 @@ // error-pattern:fail -#![feature(managed_boxes)] use std::gc::GC; diff --git a/src/test/run-fail/unwind-partial-vec.rs b/src/test/run-fail/unwind-partial-vec.rs index 7ad02fcd3d7..627fb3d028e 100644 --- a/src/test/run-fail/unwind-partial-vec.rs +++ b/src/test/run-fail/unwind-partial-vec.rs @@ -10,7 +10,6 @@ // error-pattern:fail -#![feature(managed_boxes)] use std::gc::GC; diff --git a/src/test/run-fail/unwind-resource-fail.rs b/src/test/run-fail/unwind-resource-fail.rs index 8d0a14306d9..66fd044d64e 100644 --- a/src/test/run-fail/unwind-resource-fail.rs +++ b/src/test/run-fail/unwind-resource-fail.rs @@ -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 diff --git a/src/test/run-fail/unwind-resource-fail3.rs b/src/test/run-fail/unwind-resource-fail3.rs index 8186c6263ca..9ec7c4a1eb3 100644 --- a/src/test/run-fail/unwind-resource-fail3.rs +++ b/src/test/run-fail/unwind-resource-fail3.rs @@ -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 diff --git a/src/test/run-fail/unwind-stacked.rs b/src/test/run-fail/unwind-stacked.rs index 97f4d974d8d..1e1caac0004 100644 --- a/src/test/run-fail/unwind-stacked.rs +++ b/src/test/run-fail/unwind-stacked.rs @@ -10,7 +10,6 @@ // error-pattern:fail -#![feature(managed_boxes)] use std::gc::GC; diff --git a/src/test/run-fail/unwind-tup.rs b/src/test/run-fail/unwind-tup.rs index 4a7914c568a..877e2beb703 100644 --- a/src/test/run-fail/unwind-tup.rs +++ b/src/test/run-fail/unwind-tup.rs @@ -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; diff --git a/src/test/run-fail/unwind-tup2.rs b/src/test/run-fail/unwind-tup2.rs index 26073531dd3..01536233ffe 100644 --- a/src/test/run-fail/unwind-tup2.rs +++ b/src/test/run-fail/unwind-tup2.rs @@ -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}; diff --git a/src/test/run-fail/unwind-uninitialized.rs b/src/test/run-fail/unwind-uninitialized.rs index 29723b12729..54321e98e73 100644 --- a/src/test/run-fail/unwind-uninitialized.rs +++ b/src/test/run-fail/unwind-uninitialized.rs @@ -10,7 +10,6 @@ // error-pattern:fail -#![feature(managed_boxes)] use std::gc::GC; diff --git a/src/test/run-pass-fulldeps/quote-tokens.rs b/src/test/run-pass-fulldeps/quote-tokens.rs index 59bf0bff5d8..11c3dfb2241 100644 --- a/src/test/run-pass-fulldeps/quote-tokens.rs +++ b/src/test/run-pass-fulldeps/quote-tokens.rs @@ -12,7 +12,6 @@ // ignore-pretty: does not work well with `--test` #![feature(quote)] -#![feature(managed_boxes)] extern crate syntax; diff --git a/src/test/run-pass/assert-eq-macro-success.rs b/src/test/run-pass/assert-eq-macro-success.rs index 63d9c6063b6..7cc4fab999c 100644 --- a/src/test/run-pass/assert-eq-macro-success.rs +++ b/src/test/run-pass/assert-eq-macro-success.rs @@ -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; diff --git a/src/test/run-pass/auto-encode.rs b/src/test/run-pass/auto-encode.rs index 217878892d6..d01cda79e22 100644 --- a/src/test/run-pass/auto-encode.rs +++ b/src/test/run-pass/auto-encode.rs @@ -10,7 +10,6 @@ // ignore-test FIXME(#5121) -#![feature(managed_boxes)] extern crate time; extern crate serialize; diff --git a/src/test/run-pass/auto-ref-slice-plus-ref.rs b/src/test/run-pass/auto-ref-slice-plus-ref.rs index f7b9732f12e..13dd55c7d1d 100644 --- a/src/test/run-pass/auto-ref-slice-plus-ref.rs +++ b/src/test/run-pass/auto-ref-slice-plus-ref.rs @@ -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); diff --git a/src/test/run-pass/autoderef-method-priority.rs b/src/test/run-pass/autoderef-method-priority.rs index acb3e43fbfc..2bad924192f 100644 --- a/src/test/run-pass/autoderef-method-priority.rs +++ b/src/test/run-pass/autoderef-method-priority.rs @@ -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}; diff --git a/src/test/run-pass/autoref-intermediate-types-issue-3585.rs b/src/test/run-pass/autoref-intermediate-types-issue-3585.rs index ee4431609cc..ac19c373bb2 100644 --- a/src/test/run-pass/autoref-intermediate-types-issue-3585.rs +++ b/src/test/run-pass/autoref-intermediate-types-issue-3585.rs @@ -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}; diff --git a/src/test/run-pass/binops.rs b/src/test/run-pass/binops.rs index 21824700860..2551dafe345 100644 --- a/src/test/run-pass/binops.rs +++ b/src/test/run-pass/binops.rs @@ -10,7 +10,6 @@ // Binop corner cases -#![feature(managed_boxes)] use std::gc::GC; diff --git a/src/test/run-pass/borrowck-borrow-from-expr-block.rs b/src/test/run-pass/borrowck-borrow-from-expr-block.rs index c9e1c2c8d42..7222d655a40 100644 --- a/src/test/run-pass/borrowck-borrow-from-expr-block.rs +++ b/src/test/run-pass/borrowck-borrow-from-expr-block.rs @@ -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}; diff --git a/src/test/run-pass/borrowck-preserve-box-in-moved-value.rs b/src/test/run-pass/borrowck-preserve-box-in-moved-value.rs index b75b391a239..525a93a4c83 100644 --- a/src/test/run-pass/borrowck-preserve-box-in-moved-value.rs +++ b/src/test/run-pass/borrowck-preserve-box-in-moved-value.rs @@ -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}; diff --git a/src/test/run-pass/borrowck-root-while-cond-2.rs b/src/test/run-pass/borrowck-root-while-cond-2.rs index 329db099e41..344867568bb 100644 --- a/src/test/run-pass/borrowck-root-while-cond-2.rs +++ b/src/test/run-pass/borrowck-root-while-cond-2.rs @@ -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}; diff --git a/src/test/run-pass/borrowck-root-while-cond.rs b/src/test/run-pass/borrowck-root-while-cond.rs index 35cdfb41abc..163ccf5c029 100644 --- a/src/test/run-pass/borrowck-root-while-cond.rs +++ b/src/test/run-pass/borrowck-root-while-cond.rs @@ -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}; diff --git a/src/test/run-pass/borrowck-univariant-enum.rs b/src/test/run-pass/borrowck-univariant-enum.rs index b096ff3de1f..0910f02dc29 100644 --- a/src/test/run-pass/borrowck-univariant-enum.rs +++ b/src/test/run-pass/borrowck-univariant-enum.rs @@ -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::Cell; use std::gc::GC; diff --git a/src/test/run-pass/borrowed-ptr-pattern-infallible.rs b/src/test/run-pass/borrowed-ptr-pattern-infallible.rs index e50317f71e8..55ae6d3bebf 100644 --- a/src/test/run-pass/borrowed-ptr-pattern-infallible.rs +++ b/src/test/run-pass/borrowed-ptr-pattern-infallible.rs @@ -8,7 +8,6 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. -#![feature(managed_boxes)] pub fn main() { let (&x, &y) = (&3i, &'a'); diff --git a/src/test/run-pass/box-compare.rs b/src/test/run-pass/box-compare.rs index 2ba2823eb91..9e8e416d7b0 100644 --- a/src/test/run-pass/box-compare.rs +++ b/src/test/run-pass/box-compare.rs @@ -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; diff --git a/src/test/run-pass/box-in-tup.rs b/src/test/run-pass/box-in-tup.rs index 7959bd385d3..8d7bb55028f 100644 --- a/src/test/run-pass/box-in-tup.rs +++ b/src/test/run-pass/box-in-tup.rs @@ -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}; diff --git a/src/test/run-pass/box-inside-if.rs b/src/test/run-pass/box-inside-if.rs index 3f11f8b240b..47c7e7f16f4 100644 --- a/src/test/run-pass/box-inside-if.rs +++ b/src/test/run-pass/box-inside-if.rs @@ -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}; diff --git a/src/test/run-pass/box-inside-if2.rs b/src/test/run-pass/box-inside-if2.rs index d494d2d7e81..e62050c8ea9 100644 --- a/src/test/run-pass/box-inside-if2.rs +++ b/src/test/run-pass/box-inside-if2.rs @@ -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}; diff --git a/src/test/run-pass/box-unbox.rs b/src/test/run-pass/box-unbox.rs index d360474cc9c..bc8afff0cd6 100644 --- a/src/test/run-pass/box-unbox.rs +++ b/src/test/run-pass/box-unbox.rs @@ -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}; diff --git a/src/test/run-pass/box.rs b/src/test/run-pass/box.rs index 4c368b78b2d..844b9392ec8 100644 --- a/src/test/run-pass/box.rs +++ b/src/test/run-pass/box.rs @@ -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}; diff --git a/src/test/run-pass/boxed-class-type-substitution.rs b/src/test/run-pass/boxed-class-type-substitution.rs index 377d27d1d45..41ffdd7b4b9 100644 --- a/src/test/run-pass/boxed-class-type-substitution.rs +++ b/src/test/run-pass/boxed-class-type-substitution.rs @@ -11,7 +11,6 @@ // Regression test that rustc doesn't recurse infinitely substituting // the boxed type parameter -#![feature(managed_boxes)] use std::gc::Gc; diff --git a/src/test/run-pass/cci_borrow.rs b/src/test/run-pass/cci_borrow.rs index 32b4065439f..e319866d5ce 100644 --- a/src/test/run-pass/cci_borrow.rs +++ b/src/test/run-pass/cci_borrow.rs @@ -10,7 +10,6 @@ // aux-build:cci_borrow_lib.rs -#![feature(managed_boxes)] extern crate cci_borrow_lib; use cci_borrow_lib::foo; diff --git a/src/test/run-pass/cci_nested_exe.rs b/src/test/run-pass/cci_nested_exe.rs index beffc171cd5..778e82a8fe5 100644 --- a/src/test/run-pass/cci_nested_exe.rs +++ b/src/test/run-pass/cci_nested_exe.rs @@ -10,7 +10,7 @@ // aux-build:cci_nested_lib.rs -#![feature(globs, managed_boxes)] +#![feature(globs)] extern crate cci_nested_lib; use cci_nested_lib::*; diff --git a/src/test/run-pass/class-cast-to-trait-multiple-types.rs b/src/test/run-pass/class-cast-to-trait-multiple-types.rs index 982b8f1d900..2d5fe2e86df 100644 --- a/src/test/run-pass/class-cast-to-trait-multiple-types.rs +++ b/src/test/run-pass/class-cast-to-trait-multiple-types.rs @@ -8,7 +8,6 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. -#![feature(managed_boxes)] trait noisy { fn speak(&mut self) -> int; diff --git a/src/test/run-pass/class-cast-to-trait.rs b/src/test/run-pass/class-cast-to-trait.rs index 2525066ed6b..85764f8cbbf 100644 --- a/src/test/run-pass/class-cast-to-trait.rs +++ b/src/test/run-pass/class-cast-to-trait.rs @@ -10,7 +10,6 @@ // ignore-freebsd FIXME fails on BSD -#![feature(managed_boxes)] trait noisy { fn speak(&mut self); diff --git a/src/test/run-pass/classes-self-referential.rs b/src/test/run-pass/classes-self-referential.rs index b8989afcff3..099431acd24 100644 --- a/src/test/run-pass/classes-self-referential.rs +++ b/src/test/run-pass/classes-self-referential.rs @@ -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; diff --git a/src/test/run-pass/cleanup-copy-mode.rs b/src/test/run-pass/cleanup-copy-mode.rs index 58e4d1a7aab..3eec506c9e3 100644 --- a/src/test/run-pass/cleanup-copy-mode.rs +++ b/src/test/run-pass/cleanup-copy-mode.rs @@ -8,7 +8,6 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. -#![feature(managed_boxes)] use std::task; use std::gc::{GC, Gc}; diff --git a/src/test/run-pass/crate-method-reexport-grrrrrrr.rs b/src/test/run-pass/crate-method-reexport-grrrrrrr.rs index 13ca344cc4e..481a922a463 100644 --- a/src/test/run-pass/crate-method-reexport-grrrrrrr.rs +++ b/src/test/run-pass/crate-method-reexport-grrrrrrr.rs @@ -8,7 +8,6 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. -#![feature(managed_boxes)] // This is a regression test that the metadata for the // name_pool::methods impl in the other crate is reachable from this diff --git a/src/test/run-pass/cycle-collection.rs b/src/test/run-pass/cycle-collection.rs index 277f3e40c41..edcbd21476b 100644 --- a/src/test/run-pass/cycle-collection.rs +++ b/src/test/run-pass/cycle-collection.rs @@ -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}; diff --git a/src/test/run-pass/deref-lval.rs b/src/test/run-pass/deref-lval.rs index 753fada58ab..4ccf6744d5c 100644 --- a/src/test/run-pass/deref-lval.rs +++ b/src/test/run-pass/deref-lval.rs @@ -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; diff --git a/src/test/run-pass/deref.rs b/src/test/run-pass/deref.rs index 3d29b7bca8b..12fc65cecb9 100644 --- a/src/test/run-pass/deref.rs +++ b/src/test/run-pass/deref.rs @@ -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}; diff --git a/src/test/run-pass/deriving-encodable-decodable.rs b/src/test/run-pass/deriving-encodable-decodable.rs index 2e6b3b8e800..bf519056130 100644 --- a/src/test/run-pass/deriving-encodable-decodable.rs +++ b/src/test/run-pass/deriving-encodable-decodable.rs @@ -13,7 +13,7 @@ // ignore-test FIXME(#5121) -#![feature(struct_variant, managed_boxes)] +#![feature(struct_variant)] extern crate rand; extern crate serialize; diff --git a/src/test/run-pass/deriving-zero.rs b/src/test/run-pass/deriving-zero.rs index f782a9bb177..690d82a4ed2 100644 --- a/src/test/run-pass/deriving-zero.rs +++ b/src/test/run-pass/deriving-zero.rs @@ -8,7 +8,6 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. -#![feature(managed_boxes)] use std::num::Zero; diff --git a/src/test/run-pass/double-unbox.rs b/src/test/run-pass/double-unbox.rs index d019b191a5e..0d5556a867b 100644 --- a/src/test/run-pass/double-unbox.rs +++ b/src/test/run-pass/double-unbox.rs @@ -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; diff --git a/src/test/run-pass/drop-on-empty-block-exit.rs b/src/test/run-pass/drop-on-empty-block-exit.rs index 56a2e55fea5..8add96d8ed7 100644 --- a/src/test/run-pass/drop-on-empty-block-exit.rs +++ b/src/test/run-pass/drop-on-empty-block-exit.rs @@ -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}; diff --git a/src/test/run-pass/enum-nullable-simplifycfg-misopt.rs b/src/test/run-pass/enum-nullable-simplifycfg-misopt.rs index da35ffb5295..7d8a3d3fb79 100644 --- a/src/test/run-pass/enum-nullable-simplifycfg-misopt.rs +++ b/src/test/run-pass/enum-nullable-simplifycfg-misopt.rs @@ -8,7 +8,6 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. -#![feature(managed_boxes)] /*! * This is a regression test for a bug in LLVM, fixed in upstream r179587, diff --git a/src/test/run-pass/evec-internal-boxes.rs b/src/test/run-pass/evec-internal-boxes.rs index d9495642abb..63e034c0eaa 100644 --- a/src/test/run-pass/evec-internal-boxes.rs +++ b/src/test/run-pass/evec-internal-boxes.rs @@ -8,7 +8,6 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. -#![feature(managed_boxes)] #![allow(dead_assignment)] use std::gc::{Gc, GC}; diff --git a/src/test/run-pass/export-non-interference.rs b/src/test/run-pass/export-non-interference.rs index 7cdc83e0f07..424a09227ec 100644 --- a/src/test/run-pass/export-non-interference.rs +++ b/src/test/run-pass/export-non-interference.rs @@ -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; diff --git a/src/test/run-pass/expr-block-box.rs b/src/test/run-pass/expr-block-box.rs index 5652cdea879..9b3d2028edf 100644 --- a/src/test/run-pass/expr-block-box.rs +++ b/src/test/run-pass/expr-block-box.rs @@ -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; diff --git a/src/test/run-pass/expr-block-generic-box1.rs b/src/test/run-pass/expr-block-generic-box1.rs index 7c79861ef2a..dfcef171252 100644 --- a/src/test/run-pass/expr-block-generic-box1.rs +++ b/src/test/run-pass/expr-block-generic-box1.rs @@ -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}; diff --git a/src/test/run-pass/expr-block-generic-box2.rs b/src/test/run-pass/expr-block-generic-box2.rs index e49728e5176..547e7dfa911 100644 --- a/src/test/run-pass/expr-block-generic-box2.rs +++ b/src/test/run-pass/expr-block-generic-box2.rs @@ -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}; diff --git a/src/test/run-pass/expr-block-ref.rs b/src/test/run-pass/expr-block-ref.rs index 050ecebb2a1..3d649b17b79 100644 --- a/src/test/run-pass/expr-block-ref.rs +++ b/src/test/run-pass/expr-block-ref.rs @@ -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; diff --git a/src/test/run-pass/expr-elseif-ref.rs b/src/test/run-pass/expr-elseif-ref.rs index 0753606a663..f0b9c85a53d 100644 --- a/src/test/run-pass/expr-elseif-ref.rs +++ b/src/test/run-pass/expr-elseif-ref.rs @@ -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}; diff --git a/src/test/run-pass/expr-elseif-ref2.rs b/src/test/run-pass/expr-elseif-ref2.rs index 51e3df7b26b..9d4efea7e3d 100644 --- a/src/test/run-pass/expr-elseif-ref2.rs +++ b/src/test/run-pass/expr-elseif-ref2.rs @@ -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}; diff --git a/src/test/run-pass/expr-if-box.rs b/src/test/run-pass/expr-if-box.rs index ce101b0d23c..3def4571e13 100644 --- a/src/test/run-pass/expr-if-box.rs +++ b/src/test/run-pass/expr-if-box.rs @@ -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}; diff --git a/src/test/run-pass/expr-if-generic-box1.rs b/src/test/run-pass/expr-if-generic-box1.rs index 24216296ea2..931f500a309 100644 --- a/src/test/run-pass/expr-if-generic-box1.rs +++ b/src/test/run-pass/expr-if-generic-box1.rs @@ -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}; diff --git a/src/test/run-pass/expr-if-generic-box2.rs b/src/test/run-pass/expr-if-generic-box2.rs index 9c5d363577d..b8b8c9b89a8 100644 --- a/src/test/run-pass/expr-if-generic-box2.rs +++ b/src/test/run-pass/expr-if-generic-box2.rs @@ -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}; diff --git a/src/test/run-pass/expr-match-box.rs b/src/test/run-pass/expr-match-box.rs index dc92df4d08e..c2ba36006bd 100644 --- a/src/test/run-pass/expr-match-box.rs +++ b/src/test/run-pass/expr-match-box.rs @@ -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; diff --git a/src/test/run-pass/expr-match-generic-box1.rs b/src/test/run-pass/expr-match-generic-box1.rs index 0a7442ce2cd..97fa53b5e24 100644 --- a/src/test/run-pass/expr-match-generic-box1.rs +++ b/src/test/run-pass/expr-match-generic-box1.rs @@ -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}; diff --git a/src/test/run-pass/expr-match-generic-box2.rs b/src/test/run-pass/expr-match-generic-box2.rs index 304cde1ccdd..fd8179c59a5 100644 --- a/src/test/run-pass/expr-match-generic-box2.rs +++ b/src/test/run-pass/expr-match-generic-box2.rs @@ -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}; diff --git a/src/test/run-pass/exterior.rs b/src/test/run-pass/exterior.rs index 6c4ab3bac5b..cd0f3d6101a 100644 --- a/src/test/run-pass/exterior.rs +++ b/src/test/run-pass/exterior.rs @@ -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::Cell; use std::gc::{Gc, GC}; diff --git a/src/test/run-pass/generic-alias-box.rs b/src/test/run-pass/generic-alias-box.rs index 7664d75cfb7..325f6a2c854 100644 --- a/src/test/run-pass/generic-alias-box.rs +++ b/src/test/run-pass/generic-alias-box.rs @@ -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; diff --git a/src/test/run-pass/generic-box.rs b/src/test/run-pass/generic-box.rs index fa3f971a7f0..d5047eb8f86 100644 --- a/src/test/run-pass/generic-box.rs +++ b/src/test/run-pass/generic-box.rs @@ -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}; diff --git a/src/test/run-pass/generic-drop-glue.rs b/src/test/run-pass/generic-drop-glue.rs index 4863b61ed25..2cc3a89459e 100644 --- a/src/test/run-pass/generic-drop-glue.rs +++ b/src/test/run-pass/generic-drop-glue.rs @@ -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}; diff --git a/src/test/run-pass/generic-exterior-box.rs b/src/test/run-pass/generic-exterior-box.rs index 43cf6555821..2c1ae5d9854 100644 --- a/src/test/run-pass/generic-exterior-box.rs +++ b/src/test/run-pass/generic-exterior-box.rs @@ -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}; diff --git a/src/test/run-pass/generic-fn-box.rs b/src/test/run-pass/generic-fn-box.rs index e7e189c0049..2164b00e066 100644 --- a/src/test/run-pass/generic-fn-box.rs +++ b/src/test/run-pass/generic-fn-box.rs @@ -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; diff --git a/src/test/run-pass/generic-ivec.rs b/src/test/run-pass/generic-ivec.rs index 4402dd35d09..68e7b98183b 100644 --- a/src/test/run-pass/generic-ivec.rs +++ b/src/test/run-pass/generic-ivec.rs @@ -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}; diff --git a/src/test/run-pass/generic-recursive-tag.rs b/src/test/run-pass/generic-recursive-tag.rs index 2f8b07e364e..6d81cea8b2f 100644 --- a/src/test/run-pass/generic-recursive-tag.rs +++ b/src/test/run-pass/generic-recursive-tag.rs @@ -10,7 +10,6 @@ // ignore-pretty FIXME(#14193) -#![feature(managed_boxes)] use std::gc::{Gc, GC}; diff --git a/src/test/run-pass/generic-tag.rs b/src/test/run-pass/generic-tag.rs index 1a0cc14f02e..43cdf43ceb3 100644 --- a/src/test/run-pass/generic-tag.rs +++ b/src/test/run-pass/generic-tag.rs @@ -8,7 +8,6 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. -#![feature(managed_boxes)] #![allow(dead_assignment)] #![allow(unused_variable)] diff --git a/src/test/run-pass/hashmap-memory.rs b/src/test/run-pass/hashmap-memory.rs index 61e5c28010d..f733fc1eb8f 100644 --- a/src/test/run-pass/hashmap-memory.rs +++ b/src/test/run-pass/hashmap-memory.rs @@ -9,7 +9,6 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. -#![feature(managed_boxes)] extern crate collections; extern crate debug; diff --git a/src/test/run-pass/ifmt.rs b/src/test/run-pass/ifmt.rs index fabcfc5ff33..2a3bce18eba 100644 --- a/src/test/run-pass/ifmt.rs +++ b/src/test/run-pass/ifmt.rs @@ -11,7 +11,7 @@ // no-pretty-expanded unnecessary unsafe block generated // ignore-lexer-test FIXME #15679 -#![feature(macro_rules, managed_boxes)] +#![feature(macro_rules)] #![deny(warnings)] #![allow(unused_must_use)] diff --git a/src/test/run-pass/init-res-into-things.rs b/src/test/run-pass/init-res-into-things.rs index 5d4f6458cf9..d6920b2e2fe 100644 --- a/src/test/run-pass/init-res-into-things.rs +++ b/src/test/run-pass/init-res-into-things.rs @@ -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)] use std::cell::Cell; use std::gc::{Gc, GC}; diff --git a/src/test/run-pass/issue-2631-b.rs b/src/test/run-pass/issue-2631-b.rs index 3c353e0ac3a..777210d2b04 100644 --- a/src/test/run-pass/issue-2631-b.rs +++ b/src/test/run-pass/issue-2631-b.rs @@ -8,7 +8,6 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. -#![feature(managed_boxes)] // aux-build:issue-2631-a.rs diff --git a/src/test/run-pass/issue-2708.rs b/src/test/run-pass/issue-2708.rs index 37902b5da48..e11cb28c65d 100644 --- a/src/test/run-pass/issue-2708.rs +++ b/src/test/run-pass/issue-2708.rs @@ -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; diff --git a/src/test/run-pass/issue-2735-2.rs b/src/test/run-pass/issue-2735-2.rs index 744ab45adc4..f7a91d11748 100644 --- a/src/test/run-pass/issue-2735-2.rs +++ b/src/test/run-pass/issue-2735-2.rs @@ -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)] use std::cell::Cell; use std::gc::{Gc, GC}; diff --git a/src/test/run-pass/issue-2735-3.rs b/src/test/run-pass/issue-2735-3.rs index a69ec1dac72..3650c3f9246 100644 --- a/src/test/run-pass/issue-2735-3.rs +++ b/src/test/run-pass/issue-2735-3.rs @@ -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)] use std::cell::Cell; use std::gc::{Gc, GC}; diff --git a/src/test/run-pass/issue-2904.rs b/src/test/run-pass/issue-2904.rs index 4a89d277e9f..89552d73d7e 100644 --- a/src/test/run-pass/issue-2904.rs +++ b/src/test/run-pass/issue-2904.rs @@ -9,7 +9,6 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. -#![feature(managed_boxes)] extern crate debug; diff --git a/src/test/run-pass/issue-3012-2.rs b/src/test/run-pass/issue-3012-2.rs index fffd21e9e9e..96e60dab3c9 100644 --- a/src/test/run-pass/issue-3012-2.rs +++ b/src/test/run-pass/issue-3012-2.rs @@ -10,7 +10,6 @@ // aux-build:issue-3012-1.rs -#![feature(managed_boxes)] extern crate socketlib; extern crate libc; diff --git a/src/test/run-pass/issue-3121.rs b/src/test/run-pass/issue-3121.rs index fe0b168e8fa..24ffd416499 100644 --- a/src/test/run-pass/issue-3121.rs +++ b/src/test/run-pass/issue-3121.rs @@ -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}; diff --git a/src/test/run-pass/issue-3447.rs b/src/test/run-pass/issue-3447.rs index b133fcad3eb..612e0a07dac 100644 --- a/src/test/run-pass/issue-3447.rs +++ b/src/test/run-pass/issue-3447.rs @@ -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}; diff --git a/src/test/run-pass/issue-3556.rs b/src/test/run-pass/issue-3556.rs index 2b561ec4060..b8a34b75181 100644 --- a/src/test/run-pass/issue-3556.rs +++ b/src/test/run-pass/issue-3556.rs @@ -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; diff --git a/src/test/run-pass/issue-5521.rs b/src/test/run-pass/issue-5521.rs index ffc86753345..760ac5c9383 100644 --- a/src/test/run-pass/issue-5521.rs +++ b/src/test/run-pass/issue-5521.rs @@ -10,7 +10,6 @@ // aux-build:issue-5521.rs -#![feature(managed_boxes)] extern crate foo = "issue-5521"; diff --git a/src/test/run-pass/issue-5884.rs b/src/test/run-pass/issue-5884.rs index 2d8f966caf1..93f8ebf02ac 100644 --- a/src/test/run-pass/issue-5884.rs +++ b/src/test/run-pass/issue-5884.rs @@ -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; diff --git a/src/test/run-pass/issue-6117.rs b/src/test/run-pass/issue-6117.rs index e1ecf47e926..e124b2efe29 100644 --- a/src/test/run-pass/issue-6117.rs +++ b/src/test/run-pass/issue-6117.rs @@ -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; diff --git a/src/test/run-pass/issue-8898.rs b/src/test/run-pass/issue-8898.rs index e787962bb81..dea352833f0 100644 --- a/src/test/run-pass/issue-8898.rs +++ b/src/test/run-pass/issue-8898.rs @@ -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; diff --git a/src/test/run-pass/issue-8983.rs b/src/test/run-pass/issue-8983.rs index 2fb96f593ef..1291f0b6cd1 100644 --- a/src/test/run-pass/issue-8983.rs +++ b/src/test/run-pass/issue-8983.rs @@ -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; diff --git a/src/test/run-pass/issue-9382.rs b/src/test/run-pass/issue-9382.rs index bba4b69ee1e..0682e559cf4 100644 --- a/src/test/run-pass/issue-9382.rs +++ b/src/test/run-pass/issue-9382.rs @@ -8,7 +8,6 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. -#![feature(managed_boxes)] #![allow(unnecessary_allocation)] // Tests for a previous bug that occured due to an interaction diff --git a/src/test/run-pass/issue-979.rs b/src/test/run-pass/issue-979.rs index fc29299a4a9..abe6a2d9ee6 100644 --- a/src/test/run-pass/issue-979.rs +++ b/src/test/run-pass/issue-979.rs @@ -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)] use std::cell::Cell; use std::gc::{GC, Gc}; diff --git a/src/test/run-pass/issue-980.rs b/src/test/run-pass/issue-980.rs index ea17c6cd020..1083f1b3c71 100644 --- a/src/test/run-pass/issue-980.rs +++ b/src/test/run-pass/issue-980.rs @@ -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}; diff --git a/src/test/run-pass/leak-box-as-tydesc.rs b/src/test/run-pass/leak-box-as-tydesc.rs index 3cdaf850d80..57b9b2494f5 100644 --- a/src/test/run-pass/leak-box-as-tydesc.rs +++ b/src/test/run-pass/leak-box-as-tydesc.rs @@ -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}; diff --git a/src/test/run-pass/leak-tag-copy.rs b/src/test/run-pass/leak-tag-copy.rs index 18ca6584f9e..3be122b38fa 100644 --- a/src/test/run-pass/leak-tag-copy.rs +++ b/src/test/run-pass/leak-tag-copy.rs @@ -8,7 +8,6 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. -#![feature(managed_boxes)] #![allow(dead_assignment)] #![allow(unused_variable)] diff --git a/src/test/run-pass/list.rs b/src/test/run-pass/list.rs index c42f610bcd1..bbb3ce2f2e1 100644 --- a/src/test/run-pass/list.rs +++ b/src/test/run-pass/list.rs @@ -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}; diff --git a/src/test/run-pass/mlist.rs b/src/test/run-pass/mlist.rs index be16c68770a..ee91ae124b8 100644 --- a/src/test/run-pass/mlist.rs +++ b/src/test/run-pass/mlist.rs @@ -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}; diff --git a/src/test/run-pass/monomorphized-callees-with-ty-params-3314.rs b/src/test/run-pass/monomorphized-callees-with-ty-params-3314.rs index 04d642094e3..4ebebc46018 100644 --- a/src/test/run-pass/monomorphized-callees-with-ty-params-3314.rs +++ b/src/test/run-pass/monomorphized-callees-with-ty-params-3314.rs @@ -8,7 +8,6 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. -#![feature(managed_boxes)] trait Serializer { } diff --git a/src/test/run-pass/move-1.rs b/src/test/run-pass/move-1.rs index 19238193a1a..6f4ffa51a46 100644 --- a/src/test/run-pass/move-1.rs +++ b/src/test/run-pass/move-1.rs @@ -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}; diff --git a/src/test/run-pass/move-2.rs b/src/test/run-pass/move-2.rs index d5531418826..bcc67738dd4 100644 --- a/src/test/run-pass/move-2.rs +++ b/src/test/run-pass/move-2.rs @@ -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; diff --git a/src/test/run-pass/move-3.rs b/src/test/run-pass/move-3.rs index 0ddc8371dab..21a7d57b563 100644 --- a/src/test/run-pass/move-3.rs +++ b/src/test/run-pass/move-3.rs @@ -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}; diff --git a/src/test/run-pass/move-4.rs b/src/test/run-pass/move-4.rs index 291996a63e3..984cef55998 100644 --- a/src/test/run-pass/move-4.rs +++ b/src/test/run-pass/move-4.rs @@ -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}; diff --git a/src/test/run-pass/move-arg-2.rs b/src/test/run-pass/move-arg-2.rs index 1977830733b..d00cdcca3e3 100644 --- a/src/test/run-pass/move-arg-2.rs +++ b/src/test/run-pass/move-arg-2.rs @@ -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}; diff --git a/src/test/run-pass/mutable-vec-drop.rs b/src/test/run-pass/mutable-vec-drop.rs index 4c39be0ed19..665303ac487 100644 --- a/src/test/run-pass/mutable-vec-drop.rs +++ b/src/test/run-pass/mutable-vec-drop.rs @@ -8,7 +8,6 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. -#![feature(managed_boxes)] #![allow(unused_mut)] use std::gc::{Gc, GC}; diff --git a/src/test/run-pass/mutual-recursion-group.rs b/src/test/run-pass/mutual-recursion-group.rs index 41cf4c64b26..18f332dbb97 100644 --- a/src/test/run-pass/mutual-recursion-group.rs +++ b/src/test/run-pass/mutual-recursion-group.rs @@ -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; diff --git a/src/test/run-pass/newtype-struct-drop-run.rs b/src/test/run-pass/newtype-struct-drop-run.rs index efa151c6606..50971806a87 100644 --- a/src/test/run-pass/newtype-struct-drop-run.rs +++ b/src/test/run-pass/newtype-struct-drop-run.rs @@ -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)] // Make sure the destructor is run for newtype structs. diff --git a/src/test/run-pass/nullable-pointer-iotareduction.rs b/src/test/run-pass/nullable-pointer-iotareduction.rs index 10c07e64354..a7d52b87e55 100644 --- a/src/test/run-pass/nullable-pointer-iotareduction.rs +++ b/src/test/run-pass/nullable-pointer-iotareduction.rs @@ -8,7 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. -#![feature(macro_rules, managed_boxes)] +#![feature(macro_rules)] use std::{option, mem}; use std::gc::{Gc, GC}; diff --git a/src/test/run-pass/nullable-pointer-size.rs b/src/test/run-pass/nullable-pointer-size.rs index 8a54f22585f..9dd65bdcb26 100644 --- a/src/test/run-pass/nullable-pointer-size.rs +++ b/src/test/run-pass/nullable-pointer-size.rs @@ -8,7 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. -#![feature(macro_rules, managed_boxes)] +#![feature(macro_rules)] use std::mem; use std::gc::Gc; diff --git a/src/test/run-pass/objects-owned-object-borrowed-method-header.rs b/src/test/run-pass/objects-owned-object-borrowed-method-header.rs index 815488b8c66..60c46d17b06 100644 --- a/src/test/run-pass/objects-owned-object-borrowed-method-header.rs +++ b/src/test/run-pass/objects-owned-object-borrowed-method-header.rs @@ -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}; diff --git a/src/test/run-pass/option-unwrap.rs b/src/test/run-pass/option-unwrap.rs index e9df731fbbf..a6730d67ce0 100644 --- a/src/test/run-pass/option-unwrap.rs +++ b/src/test/run-pass/option-unwrap.rs @@ -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)] use std::cell::Cell; use std::gc::{GC, Gc}; diff --git a/src/test/run-pass/output-slot-variants.rs b/src/test/run-pass/output-slot-variants.rs index f0728d0bd22..34dccb81865 100644 --- a/src/test/run-pass/output-slot-variants.rs +++ b/src/test/run-pass/output-slot-variants.rs @@ -8,7 +8,6 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. -#![feature(managed_boxes)] #![allow(dead_assignment)] #![allow(unused_variable)] diff --git a/src/test/run-pass/packed-struct-size.rs b/src/test/run-pass/packed-struct-size.rs index aedead36ed1..8dbc7cf327d 100644 --- a/src/test/run-pass/packed-struct-size.rs +++ b/src/test/run-pass/packed-struct-size.rs @@ -8,7 +8,6 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. -#![feature(managed_boxes)] use std::mem; use std::gc::Gc; diff --git a/src/test/run-pass/packed-tuple-struct-size.rs b/src/test/run-pass/packed-tuple-struct-size.rs index 6e53774d68d..da6e9a9dac0 100644 --- a/src/test/run-pass/packed-tuple-struct-size.rs +++ b/src/test/run-pass/packed-tuple-struct-size.rs @@ -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; use std::mem; diff --git a/src/test/run-pass/pass-by-copy.rs b/src/test/run-pass/pass-by-copy.rs index c7c088d59d4..88209192422 100644 --- a/src/test/run-pass/pass-by-copy.rs +++ b/src/test/run-pass/pass-by-copy.rs @@ -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; diff --git a/src/test/run-pass/rcvr-borrowed-to-region.rs b/src/test/run-pass/rcvr-borrowed-to-region.rs index 0d9f05b9e26..b856386e1d3 100644 --- a/src/test/run-pass/rcvr-borrowed-to-region.rs +++ b/src/test/run-pass/rcvr-borrowed-to-region.rs @@ -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; diff --git a/src/test/run-pass/reflect-visit-type.rs b/src/test/run-pass/reflect-visit-type.rs index a8a9afc6156..596e56b424a 100644 --- a/src/test/run-pass/reflect-visit-type.rs +++ b/src/test/run-pass/reflect-visit-type.rs @@ -8,7 +8,6 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. -#![feature(managed_boxes)] use std::intrinsics::{TyDesc, get_tydesc, visit_tydesc, TyVisitor, Disr, Opaque}; diff --git a/src/test/run-pass/regions-borrow-at.rs b/src/test/run-pass/regions-borrow-at.rs index 74990432d03..15206f1c386 100644 --- a/src/test/run-pass/regions-borrow-at.rs +++ b/src/test/run-pass/regions-borrow-at.rs @@ -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; diff --git a/src/test/run-pass/regions-escape-into-other-fn.rs b/src/test/run-pass/regions-escape-into-other-fn.rs index 46e1aaa3a24..09d9008c0b6 100644 --- a/src/test/run-pass/regions-escape-into-other-fn.rs +++ b/src/test/run-pass/regions-escape-into-other-fn.rs @@ -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; diff --git a/src/test/run-pass/regions-infer-borrow-scope.rs b/src/test/run-pass/regions-infer-borrow-scope.rs index 65e753ddee1..4c021b18ad8 100644 --- a/src/test/run-pass/regions-infer-borrow-scope.rs +++ b/src/test/run-pass/regions-infer-borrow-scope.rs @@ -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; diff --git a/src/test/run-pass/repeated-vector-syntax.rs b/src/test/run-pass/repeated-vector-syntax.rs index 07ea2534b9f..76d15f12b60 100644 --- a/src/test/run-pass/repeated-vector-syntax.rs +++ b/src/test/run-pass/repeated-vector-syntax.rs @@ -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; diff --git a/src/test/run-pass/resource-assign-is-not-copy.rs b/src/test/run-pass/resource-assign-is-not-copy.rs index 9dc3b7a0f80..48022fefbbd 100644 --- a/src/test/run-pass/resource-assign-is-not-copy.rs +++ b/src/test/run-pass/resource-assign-is-not-copy.rs @@ -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; diff --git a/src/test/run-pass/resource-destruct.rs b/src/test/run-pass/resource-destruct.rs index 60526faef50..ba6a285d652 100644 --- a/src/test/run-pass/resource-destruct.rs +++ b/src/test/run-pass/resource-destruct.rs @@ -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)] use std::cell::Cell; use std::gc::{GC, Gc}; diff --git a/src/test/run-pass/resource-in-struct.rs b/src/test/run-pass/resource-in-struct.rs index 253a2c0c712..fd1efe1a20e 100644 --- a/src/test/run-pass/resource-in-struct.rs +++ b/src/test/run-pass/resource-in-struct.rs @@ -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)] // Ensures that class dtors run if the object is inside an enum // variant diff --git a/src/test/run-pass/shape_intrinsic_tag_then_rec.rs b/src/test/run-pass/shape_intrinsic_tag_then_rec.rs index b60f09d698f..b58db67c0ac 100644 --- a/src/test/run-pass/shape_intrinsic_tag_then_rec.rs +++ b/src/test/run-pass/shape_intrinsic_tag_then_rec.rs @@ -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; diff --git a/src/test/run-pass/terminate-in-initializer.rs b/src/test/run-pass/terminate-in-initializer.rs index eb0bfc969f3..fcce05a7b09 100644 --- a/src/test/run-pass/terminate-in-initializer.rs +++ b/src/test/run-pass/terminate-in-initializer.rs @@ -8,7 +8,6 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. -#![feature(managed_boxes)] // Issue #787 // Don't try to clean up uninitialized locals diff --git a/src/test/run-pass/trait-cast.rs b/src/test/run-pass/trait-cast.rs index 43d3b591ffa..30acf07ae60 100644 --- a/src/test/run-pass/trait-cast.rs +++ b/src/test/run-pass/trait-cast.rs @@ -10,7 +10,6 @@ // ignore-pretty FIXME(#14193) -#![feature(managed_boxes)] // Test cyclic detector when using trait instances. diff --git a/src/test/run-pass/type-param-constraints.rs b/src/test/run-pass/type-param-constraints.rs index fd7e749935b..41a8ca33a2a 100644 --- a/src/test/run-pass/type-param-constraints.rs +++ b/src/test/run-pass/type-param-constraints.rs @@ -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; diff --git a/src/test/run-pass/typeclasses-eq-example-static.rs b/src/test/run-pass/typeclasses-eq-example-static.rs index ef79412c75e..0cd6210e13c 100644 --- a/src/test/run-pass/typeclasses-eq-example-static.rs +++ b/src/test/run-pass/typeclasses-eq-example-static.rs @@ -8,7 +8,6 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. -#![feature(managed_boxes)] // Example from lkuper's intern talk, August 2012 -- now with static // methods! diff --git a/src/test/run-pass/typeclasses-eq-example.rs b/src/test/run-pass/typeclasses-eq-example.rs index e063f9ecb74..0a77824cf47 100644 --- a/src/test/run-pass/typeclasses-eq-example.rs +++ b/src/test/run-pass/typeclasses-eq-example.rs @@ -8,7 +8,6 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. -#![feature(managed_boxes)] // Example from lkuper's intern talk, August 2012. diff --git a/src/test/run-pass/uniq-cc-generic.rs b/src/test/run-pass/uniq-cc-generic.rs index eb0a3c0eda8..e342dcb365d 100644 --- a/src/test/run-pass/uniq-cc-generic.rs +++ b/src/test/run-pass/uniq-cc-generic.rs @@ -10,7 +10,6 @@ // ignore-pretty FIXME(#14193) -#![feature(managed_boxes)] use std::cell::RefCell; use std::gc::{Gc, GC}; diff --git a/src/test/run-pass/uniq-cc.rs b/src/test/run-pass/uniq-cc.rs index ed5e1a5546a..c7aca64c7cb 100644 --- a/src/test/run-pass/uniq-cc.rs +++ b/src/test/run-pass/uniq-cc.rs @@ -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}; diff --git a/src/test/run-pass/unique-assign-generic.rs b/src/test/run-pass/unique-assign-generic.rs index 9f98465ddee..478565c86fd 100644 --- a/src/test/run-pass/unique-assign-generic.rs +++ b/src/test/run-pass/unique-assign-generic.rs @@ -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; diff --git a/src/test/run-pass/unwind-box.rs b/src/test/run-pass/unwind-box.rs index a81f88e2af3..70c8c5b64e4 100644 --- a/src/test/run-pass/unwind-box.rs +++ b/src/test/run-pass/unwind-box.rs @@ -8,7 +8,6 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. -#![feature(managed_boxes)] use std::task; use std::gc::GC; diff --git a/src/test/run-pass/unwind-resource2.rs b/src/test/run-pass/unwind-resource2.rs index 2739b898f9f..6d04c0e26ad 100644 --- a/src/test/run-pass/unwind-resource2.rs +++ b/src/test/run-pass/unwind-resource2.rs @@ -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)] use std::task; use std::gc::{Gc, GC}; diff --git a/src/test/run-pass/vec-drop.rs b/src/test/run-pass/vec-drop.rs index e2901a84b8b..6cc95a2e548 100644 --- a/src/test/run-pass/vec-drop.rs +++ b/src/test/run-pass/vec-drop.rs @@ -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}; diff --git a/src/test/run-pass/vec-slice-drop.rs b/src/test/run-pass/vec-slice-drop.rs index 9e5fc6d0518..42132f0a12f 100644 --- a/src/test/run-pass/vec-slice-drop.rs +++ b/src/test/run-pass/vec-slice-drop.rs @@ -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)] use std::cell::Cell; use std::gc::{Gc, GC}; diff --git a/src/test/run-pass/vector-no-ann-2.rs b/src/test/run-pass/vector-no-ann-2.rs index c2280cd2c6a..ba66a448c25 100644 --- a/src/test/run-pass/vector-no-ann-2.rs +++ b/src/test/run-pass/vector-no-ann-2.rs @@ -8,7 +8,6 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. -#![feature(managed_boxes)] pub fn main() { let _quux: Box> = box Vec::new(); } diff --git a/src/test/run-pass/weird-exprs.rs b/src/test/run-pass/weird-exprs.rs index bae1a7c45e4..e8489e7c386 100644 --- a/src/test/run-pass/weird-exprs.rs +++ b/src/test/run-pass/weird-exprs.rs @@ -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::Cell; use std::mem::swap;