about summary refs log tree commit diff
path: root/src/test
diff options
context:
space:
mode:
authorAlex Crichton <alex@alexcrichton.com>2015-03-26 15:10:31 -0700
committerAlex Crichton <alex@alexcrichton.com>2015-03-26 15:43:42 -0700
commit671d896294eb07825d52fdeed5f3fbc1989d4939 (patch)
tree6a7308332762ed43f0d3e0c7abc6e99017cde7ab /src/test
parent557d4346a26266d2eb13f6b0adf106b8873b0da1 (diff)
downloadrust-671d896294eb07825d52fdeed5f3fbc1989d4939.tar.gz
rust-671d896294eb07825d52fdeed5f3fbc1989d4939.zip
rustc: Remove old #[phase] and #[plugin]
This commit removes the extra deprecation warnings and support for the old
`phase` and `plugin` attributes for loading plugins.
Diffstat (limited to 'src/test')
-rw-r--r--src/test/compile-fail/deprecated-phase.rs17
-rw-r--r--src/test/compile-fail/plugin-extern-crate-attr-deprecated.rs17
2 files changed, 0 insertions, 34 deletions
diff --git a/src/test/compile-fail/deprecated-phase.rs b/src/test/compile-fail/deprecated-phase.rs
deleted file mode 100644
index 22fc4a94cd2..00000000000
--- a/src/test/compile-fail/deprecated-phase.rs
+++ /dev/null
@@ -1,17 +0,0 @@
-// Copyright 2014 The Rust Project Developers. See the COPYRIGHT
-// file at the top-level directory of this distribution and at
-// http://rust-lang.org/COPYRIGHT.
-//
-// Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
-// http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
-// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
-// option. This file may not be copied, modified, or distributed
-// except according to those terms.
-
-#![feature(custom_attribute)]
-
-#[phase(blah)]
-//~^ ERROR #[phase] is deprecated
-extern crate foo;
-
-fn main() {}
diff --git a/src/test/compile-fail/plugin-extern-crate-attr-deprecated.rs b/src/test/compile-fail/plugin-extern-crate-attr-deprecated.rs
deleted file mode 100644
index efa352e386d..00000000000
--- a/src/test/compile-fail/plugin-extern-crate-attr-deprecated.rs
+++ /dev/null
@@ -1,17 +0,0 @@
-// Copyright 2015 The Rust Project Developers. See the COPYRIGHT
-// file at the top-level directory of this distribution and at
-// http://rust-lang.org/COPYRIGHT.
-//
-// Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
-// http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
-// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
-// option. This file may not be copied, modified, or distributed
-// except according to those terms.
-
-#![feature(plugin)]
-
-#[plugin]  //~ ERROR #[plugin] on `extern crate` is deprecated
-//~^ HELP use a crate attribute instead, i.e. #![plugin(std)]
-extern crate std;
-
-fn main() {}