about summary refs log tree commit diff
path: root/src/librustc_back
diff options
context:
space:
mode:
authorPatrick Walton <pcwalton@mimiga.net>2014-08-18 08:29:44 -0700
committerPatrick Walton <pcwalton@mimiga.net>2014-08-18 09:19:10 -0700
commit67deb2e65e150a1b9b2fcd457da47e3e13b2c4f7 (patch)
tree37fe9cab468b9f6757ca415f42a072a59012ee1e /src/librustc_back
parent7074592ee1ad1a155919268229b6464f2acc576e (diff)
downloadrust-67deb2e65e150a1b9b2fcd457da47e3e13b2c4f7.tar.gz
rust-67deb2e65e150a1b9b2fcd457da47e3e13b2c4f7.zip
libsyntax: Remove the `use foo = bar` syntax from the language in favor
of `use bar as foo`.

Change all uses of `use foo = bar` to `use bar as foo`.

Implements RFC #47.

Closes #16461.

[breaking-change]
Diffstat (limited to 'src/librustc_back')
-rw-r--r--src/librustc_back/archive.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/librustc_back/archive.rs b/src/librustc_back/archive.rs
index 6e606f33361..bd6770b3256 100644
--- a/src/librustc_back/archive.rs
+++ b/src/librustc_back/archive.rs
@@ -16,7 +16,7 @@ use std::io;
 use std::os;
 use std::str;
 use syntax::abi;
-use ErrorHandler = syntax::diagnostic::Handler;
+use syntax::diagnostic::Handler as ErrorHandler;
 
 pub static METADATA_FILENAME: &'static str = "rust.metadata.bin";