about summary refs log tree commit diff
path: root/src/libgetopts
diff options
context:
space:
mode:
authorKeegan McAllister <kmcallister@mozilla.com>2014-12-31 20:43:46 -0800
committerKeegan McAllister <kmcallister@mozilla.com>2015-01-05 18:21:13 -0800
commit60be2f52d2434dfbf2df7728454d572d76f58bf8 (patch)
treeb6ebc58ca4d544ed39d224c4eaf0f80b900066f9 /src/libgetopts
parentf314e2c4ea48c2027e627fdfca821bb6e0012e59 (diff)
downloadrust-60be2f52d2434dfbf2df7728454d572d76f58bf8.tar.gz
rust-60be2f52d2434dfbf2df7728454d572d76f58bf8.zip
Replace #[phase] with #[plugin] / #[macro_use] / #[no_link]
Diffstat (limited to 'src/libgetopts')
-rw-r--r--src/libgetopts/lib.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libgetopts/lib.rs b/src/libgetopts/lib.rs
index 2063654077f..18077795e24 100644
--- a/src/libgetopts/lib.rs
+++ b/src/libgetopts/lib.rs
@@ -85,11 +85,11 @@
        html_favicon_url = "http://www.rust-lang.org/favicon.ico",
        html_root_url = "http://doc.rust-lang.org/nightly/",
        html_playground_url = "http://play.rust-lang.org/")]
-#![feature(globs, phase, slicing_syntax)]
+#![feature(globs, slicing_syntax)]
 #![feature(unboxed_closures)]
 #![deny(missing_docs)]
 
-#[cfg(test)] #[phase(plugin, link)] extern crate log;
+#[cfg(test)] #[macro_use] extern crate log;
 
 use self::Name::*;
 use self::HasArg::*;