Skip to content

Commit 93fe5c8

Browse files
librustc_driver has been updated
1 parent b009778 commit 93fe5c8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/librustc_driver/driver.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -914,7 +914,7 @@ pub fn build_output_filenames(input: &Input,
914914

915915
// If a crate name is present, we use it as the link name
916916
let stem = sess.opts.crate_name.clone().or_else(|| {
917-
attr::find_crate_name(attrs).map(|n| n.get().to_string())
917+
attr::find_crate_name(attrs).map(|n| n.to_string())
918918
}).unwrap_or(input.filestem());
919919

920920
OutputFilenames {

0 commit comments

Comments
 (0)