about summary refs log tree commit diff
path: root/src/driver
diff options
context:
space:
mode:
authorwickerwaka <martin.donlon@gmail.com>2014-09-01 08:59:23 -0700
committerwickerwaka <martin.donlon@gmail.com>2014-09-01 09:02:00 -0700
commit2cb210d2c671582a97c75d446bf2312af362b1cc (patch)
treeff71e04887f9a2d4683269672dbfde1e5ac231d8 /src/driver
parentb42e079c6f6445b4e2adfaf9a30e8a06403f75c8 (diff)
downloadrust-2cb210d2c671582a97c75d446bf2312af362b1cc.tar.gz
rust-2cb210d2c671582a97c75d446bf2312af362b1cc.zip
Updated to new extern crate syntax.
Added warning for old deprecated syntax
Diffstat (limited to 'src/driver')
-rw-r--r--src/driver/driver.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/driver/driver.rs b/src/driver/driver.rs
index ca462fc7a39..8ac09ed909b 100644
--- a/src/driver/driver.rs
+++ b/src/driver/driver.rs
@@ -9,9 +9,9 @@
 // except according to those terms.
 
 #[cfg(rustdoc)]
-extern crate this = "rustdoc";
+extern crate "rustdoc" as this;
 
 #[cfg(rustc)]
-extern crate this = "rustc";
+extern crate "rustc" as this;
 
 fn main() { this::main() }