diff options
| author | bors <bors@rust-lang.org> | 2014-09-04 16:40:59 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2014-09-04 16:40:59 +0000 |
| commit | bef51ba234a42c52939bcb0f8a5deb7c345d8eba (patch) | |
| tree | 76a97dfb2ab2aa989b470a1117727072840e206b /src/libstd/lib.rs | |
| parent | 4a5a9c56319fbbf47094fb97d1171a0ed8e89239 (diff) | |
| parent | 2cb210d2c671582a97c75d446bf2312af362b1cc (diff) | |
| download | rust-bef51ba234a42c52939bcb0f8a5deb7c345d8eba.tar.gz rust-bef51ba234a42c52939bcb0f8a5deb7c345d8eba.zip | |
auto merge of #16923 : wickerwaka/rust/crate-as-fixup, r=alexcrichton
Changed occurances of: extern crate foo = "bar"; to: extern crate "bar" as foo; Added warning for old deprecated syntax
Diffstat (limited to 'src/libstd/lib.rs')
| -rw-r--r-- | src/libstd/lib.rs | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/libstd/lib.rs b/src/libstd/lib.rs index 7fed4c94164..b29e5b7c148 100644 --- a/src/libstd/lib.rs +++ b/src/libstd/lib.rs @@ -129,14 +129,14 @@ extern crate alloc; extern crate unicode; extern crate core; -extern crate core_collections = "collections"; -extern crate core_rand = "rand"; -extern crate core_sync = "sync"; +extern crate "collections" as core_collections; +extern crate "rand" as core_rand; +extern crate "sync" as core_sync; extern crate libc; extern crate rustrt; // Make std testable by not duplicating lang items. See #2912 -#[cfg(test)] extern crate realstd = "std"; +#[cfg(test)] extern crate "std" as realstd; #[cfg(test)] pub use realstd::kinds; #[cfg(test)] pub use realstd::ops; #[cfg(test)] pub use realstd::cmp; |
