about summary refs log tree commit diff
path: root/src/liblog
diff options
context:
space:
mode:
authorKeegan McAllister <kmcallister@mozilla.com>2014-05-24 21:22:52 -0700
committerKeegan McAllister <kmcallister@mozilla.com>2014-06-09 14:29:30 -0700
commit84243ed6e18643c277724a868e3f11b4137fe3bc (patch)
tree34e42be0f2736be1a2d893d7221092f574c8a90f /src/liblog
parentffb2f12ed89213f96561dfbece0751ac870e2c40 (diff)
downloadrust-84243ed6e18643c277724a868e3f11b4137fe3bc.tar.gz
rust-84243ed6e18643c277724a868e3f11b4137fe3bc.zip
Use phase(plugin) in other crates
Diffstat (limited to 'src/liblog')
-rw-r--r--src/liblog/lib.rs2
-rw-r--r--src/liblog/macros.rs12
2 files changed, 7 insertions, 7 deletions
diff --git a/src/liblog/lib.rs b/src/liblog/lib.rs
index daacf8b3c47..254f9aaf55e 100644
--- a/src/liblog/lib.rs
+++ b/src/liblog/lib.rs
@@ -16,7 +16,7 @@ Utilities for program-wide and customizable logging
 
 ```
 #![feature(phase)]
-#[phase(syntax, link)] extern crate log;
+#[phase(plugin, link)] extern crate log;
 
 fn main() {
     debug!("this is a debug {}", "message");
diff --git a/src/liblog/macros.rs b/src/liblog/macros.rs
index 3bb49c237f1..dba34c42a7e 100644
--- a/src/liblog/macros.rs
+++ b/src/liblog/macros.rs
@@ -22,7 +22,7 @@
 ///
 /// ```
 /// #![feature(phase)]
-/// #[phase(syntax, link)] extern crate log;
+/// #[phase(plugin, link)] extern crate log;
 ///
 /// # fn main() {
 /// log!(log::DEBUG, "this is a debug message");
@@ -51,7 +51,7 @@ macro_rules! log(
 ///
 /// ```
 /// #![feature(phase)]
-/// #[phase(syntax, link)] extern crate log;
+/// #[phase(plugin, link)] extern crate log;
 ///
 /// # fn main() {
 /// # let error = 3;
@@ -69,7 +69,7 @@ macro_rules! error(
 ///
 /// ```
 /// #![feature(phase)]
-/// #[phase(syntax, link)] extern crate log;
+/// #[phase(plugin, link)] extern crate log;
 ///
 /// # fn main() {
 /// # let code = 3;
@@ -87,7 +87,7 @@ macro_rules! warn(
 ///
 /// ```
 /// #![feature(phase)]
-/// #[phase(syntax, link)] extern crate log;
+/// #[phase(plugin, link)] extern crate log;
 ///
 /// # fn main() {
 /// # let ret = 3;
@@ -107,7 +107,7 @@ macro_rules! info(
 ///
 /// ```
 /// #![feature(phase)]
-/// #[phase(syntax, link)] extern crate log;
+/// #[phase(plugin, link)] extern crate log;
 ///
 /// # fn main() {
 /// debug!("x = {x}, y = {y}", x=10, y=20);
@@ -124,7 +124,7 @@ macro_rules! debug(
 ///
 /// ```
 /// #![feature(phase)]
-/// #[phase(syntax, link)] extern crate log;
+/// #[phase(plugin, link)] extern crate log;
 ///
 /// # fn main() {
 /// # struct Point { x: int, y: int }