about summary refs log tree commit diff
diff options
context:
space:
mode:
authorGuillaumeGomez <guillaume1.gomez@gmail.com>2015-02-04 01:07:42 +0100
committerGuillaumeGomez <guillaume1.gomez@gmail.com>2015-02-06 12:01:58 +0100
commit93fe5c82bfc58019cd799d9ceca8e22b380cfa60 (patch)
treecc065ec7fdfa9ebd51d03785d51ce92bbade12ae
parentb0097783b980056b67020f0e65107f87ed813275 (diff)
downloadrust-93fe5c82bfc58019cd799d9ceca8e22b380cfa60.tar.gz
rust-93fe5c82bfc58019cd799d9ceca8e22b380cfa60.zip
librustc_driver has been updated
-rw-r--r--src/librustc_driver/driver.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/librustc_driver/driver.rs b/src/librustc_driver/driver.rs
index 0b0b1f9276f..528ea228a98 100644
--- a/src/librustc_driver/driver.rs
+++ b/src/librustc_driver/driver.rs
@@ -914,7 +914,7 @@ pub fn build_output_filenames(input: &Input,
 
             // If a crate name is present, we use it as the link name
             let stem = sess.opts.crate_name.clone().or_else(|| {
-                attr::find_crate_name(attrs).map(|n| n.get().to_string())
+                attr::find_crate_name(attrs).map(|n| n.to_string())
             }).unwrap_or(input.filestem());
 
             OutputFilenames {