diff --git a/src/archive.rs b/src/archive.rs index 252976930e4..5363c97675c 100644 --- a/src/archive.rs +++ b/src/archive.rs @@ -94,7 +94,7 @@ impl<'a> ArchiveBuilder<'a> for ArArchiveBuilder<'a> { )); } - fn add_native_library(&mut self, name: &str) { + fn add_native_library(&mut self, name: syntax::ast::Name) { let location = find_library(name, &self.config.lib_search_paths, self.config.sess); self.add_archive(location.clone(), |_| false) .unwrap_or_else(|e| {