about summary refs log tree commit diff
path: root/src/librustc/metadata/creader.rs
diff options
context:
space:
mode:
authorAaron Turon <aturon@mozilla.com>2014-11-12 15:51:51 -0800
committerAaron Turon <aturon@mozilla.com>2014-11-17 11:26:48 -0800
commit7213de1c49e448c7c6ad2d30dc3e6b3a13e090df (patch)
tree9133e9f7b6f954432eddd947cb74248a1751ea36 /src/librustc/metadata/creader.rs
parent80a2867ea736007397aa2fbaa0e4c539c80e162c (diff)
downloadrust-7213de1c49e448c7c6ad2d30dc3e6b3a13e090df.tar.gz
rust-7213de1c49e448c7c6ad2d30dc3e6b3a13e090df.zip
Fallout from deprecation
This commit handles the fallout from deprecating `_with` and `_equiv` methods.
Diffstat (limited to 'src/librustc/metadata/creader.rs')
-rw-r--r--src/librustc/metadata/creader.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/librustc/metadata/creader.rs b/src/librustc/metadata/creader.rs
index dbf0e405408..1cfe565fd7d 100644
--- a/src/librustc/metadata/creader.rs
+++ b/src/librustc/metadata/creader.rs
@@ -321,7 +321,7 @@ fn existing_match(e: &Env, name: &str,
         // `source` stores paths which are normalized which may be different
         // from the strings on the command line.
         let source = e.sess.cstore.get_used_crate_source(cnum).unwrap();
-        match e.sess.opts.externs.find_equiv(name) {
+        match e.sess.opts.externs.get(name) {
             Some(locs) => {
                 let found = locs.iter().any(|l| {
                     let l = fs::realpath(&Path::new(l.as_slice())).ok();